ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

Re: c# development

Eric Williams
 

Where are people purchasing vs 2008 pro from. I'm finding nothing but shady looking resources (old software). I'm not seeing it on Microsoft. I've been told that vs 2012 pro would include down grade rites?

-----Original Message-----
From: "Neil Dorin" <neildorin@...>
Sent: �6/�10/�2013 6:55 PM
To: "Crestron@..." <Crestron@...>
Subject: Re: [Crestron] c# development


You need to check on creatronlabs.com

Full c# programming is very much in beta still
On 2013-06-10, at 4:45 PM, Bradley Seman <el_perro_azul@...> wrote:

I did a search for c# in the Crestron group and it returned no results. Maybe i'm doing it wrong, but i'm new here.

We are trying to write a program in c# and part of the functionality needed to for it to be able to connect to a DMPS or MC2E and upload a new program for it and it's connected touch panel.

Our attempts at connecting to a device on the local network have not been successful.

The code we have been using is this (this is just test code, the actual code will use variable names instead of hard coded info):

VptSessionset = newVptSession();

private void btn_Load_Click(object sender, EventArgs e)
{
DialogResult result;
Form LoadForm = new LoadForm(listboxLoadList,
txtControlPanel.Text, txtTPProgram.Text, txtWebInterface.Text,
txtControlFirmware.Text, txtTPFirmware.Text);
result = LoadForm.ShowDialog();
if (result == System.Windows.Forms.DialogResult.OK)
{
//Here is
where we load the list
Console.WriteLine("New VtpSession created!");
set.OpenSession("tcp
10.25.146.126", "C# test");
Console.WriteLine("Session opened!");
int TransID = 0;
String program = ;//fill in your own path/file here
set.AsyncActivateStr(0, program, 10000, TransID, 0, 0);
Console.WriteLine("Session program send!");
}
else if (result ==
System.Windows.Forms.DialogResult.Cancel)
{
// Don't load the list
;
}
}
The program string is blank since you guys will have a different file and directory to use.

after this function is called the set_OnActivateStrComplete function is called:
private void set_OnActivateStrComplete(int nTransactionID, int nAbilityCode, byte bSuccess, string pszOutputs, int nUserPassBack)
{
Console.WriteLine("Inside
of the complete!");
Console.WriteLine(bSuccess);
Console.WriteLine(pszOutputs);
}

when bSuccess is output to the Console, a zero is printed, indicating failure.
does anyone have any suggestions?

[Non-text portions of this message have been removed]






[Non-text portions of this message have been removed]


Re: Error: CConsoleListenSocket::AcceptConnection: unable to disable Nagle algorithm

 

Im seeing these once a minute in the log and im not sure whats causing them

--- In Crestron@..., "xymox1357" <public2@...> wrote:


I am seeing a lot of these errors in my log. What does this mean ? They seem to occur about once a minute. Very annoying.

Error: CConsoleListenSocket::AcceptConnection: unable to disable Nagle algorithm for Console Sockets.


Re: Device Firmware

 

4.003.0015 is the latest released firmware for MP2E and QM-RMC style processors.

But yes, it is indeed lagging behind the rest of the 2 series so you might want to see if you need a beta firmware for your processor depending on what you're trying to do.

--- In Crestron@..., Heather Baiman <heather@...> wrote:

4.003.0015 is not the latest firmware for the 2-series.

Most programs don't need to upgrade beyond this version unless you're doing stuff with Smart Graphics I think.
________________________________________
From: Crestron@... [Crestron@...] on behalf of Sebastian [s.marszalek11@...]
Sent: Monday, June 10, 2013 7:36 PM
To: Crestron@...
Subject: [Crestron] Device Firmware

Hey All,

I keep getting this message when I upload a program to a processor.

" The device firmware does not meet the minimum requirements of the File.

Device:4.003.0015(Oct 04 2010)
File:4.006"

This is the latest firmware for the device, anyone know why it's asking that?

Thank you,



------------------------------------



Check out the Files area for useful modules, documents, and drivers.

A contact list of Crestron dealers and programmers can be found in the Database area.
Yahoo! Groups Links


Re: Device Firmware

Heather Baiman
 

4.003.0015 is not the latest firmware for the 2-series.

Most programs don't need to upgrade beyond this version unless you're doing stuff with Smart Graphics I think.
________________________________________
From: Crestron@... [Crestron@...] on behalf of Sebastian [s.marszalek11@...]
Sent: Monday, June 10, 2013 7:36 PM
To: Crestron@...
Subject: [Crestron] Device Firmware

Hey All,

I keep getting this message when I upload a program to a processor.

" The device firmware does not meet the minimum requirements of the File.

Device:4.003.0015(Oct 04 2010)
File:4.006"

This is the latest firmware for the device, anyone know why it's asking that?

Thank you,



------------------------------------



Check out the Files area for useful modules, documents, and drivers.

A contact list of Crestron dealers and programmers can be found in the Database area.
Yahoo! Groups Links


Re: The extended ASCII codes in 3-series

Kool-Aid Drinker
 

Using the built in S+ SendMailAdvance() function.

On Mon, 10 Jun 2013 18:05:30 -0000, "Andy A" <aandrea@...>
wrote:

Using a Crestron send email module or home-made?

--- In Crestron@..., Kool-Aid Drinker <herald@...> wrote:

I'm getting emails from a proc with 1.7.14. Haven't tried the
current-release 1.7.19, and don't have one I can update at the moment.

On Mon, 10 Jun 2013 15:47:24 -0000, "Andy A" <aandrea@...>
wrote:

So if I am reading correctly...you have been able to get a 3-series processor to send an
email message? Ever since I upgraded firmware to the latest available (as of a week or so
ago) my email has been non-existent. Any help/guidance you could provide would be greatly
appreciated!


Device Firmware

 

Hey All,

I keep getting this message when I upload a program to a processor.

" The device firmware does not meet the minimum requirements of the File.

Device:4.003.0015(Oct 04 2010)
File:4.006"

This is the latest firmware for the device, anyone know why it's asking that?

Thank you,


Re: c# development

 

Neil,

OP is trying to do C# from his computer, you'll notice he's trying to create a viewport (toolbox) session to upload files. Not on a controller.

Also... SIMPL# - the ability to write libraries in C# and call them from your SIMPL+ modules - is released. It's not in beta.

--- In Crestron@..., Neil Dorin <neildorin@...> wrote:

You need to check on creatronlabs.com

Full c# programming is very much in beta still

Sent from my iPhone

On 2013-06-10, at 4:45 PM, Bradley Seman <el_perro_azul@...> wrote:

I did a search for c# in the Crestron group and it returned no results. Maybe i'm doing it wrong, but i'm new here.

We are trying to write a program in c# and part of the functionality needed to for it to be able to connect to a DMPS or MC2E and upload a new program for it and it's connected touch panel.

Our attempts at connecting to a device on the local network have not been successful.

The code we have been using is this (this is just test code, the actual code will use variable names instead of hard coded info):

VptSessionset = newVptSession();

private void btn_Load_Click(object sender, EventArgs e)
{
DialogResult result;
Form LoadForm = new LoadForm(listboxLoadList,
txtControlPanel.Text, txtTPProgram.Text, txtWebInterface.Text,
txtControlFirmware.Text, txtTPFirmware.Text);
result = LoadForm.ShowDialog();
if (result == System.Windows.Forms.DialogResult.OK)
{
//Here is
where we load the list
Console.WriteLine("New VtpSession created!");
set.OpenSession("tcp
10.25.146.126", "C# test");
Console.WriteLine("Session opened!");
int TransID = 0;
String program = ;//fill in your own path/file here
set.AsyncActivateStr(0, program, 10000, TransID, 0, 0);
Console.WriteLine("Session program send!");
}
else if (result ==
System.Windows.Forms.DialogResult.Cancel)
{
// Don't load the list
;
}
}
The program string is blank since you guys will have a different file and directory to use.

after this function is called the set_OnActivateStrComplete function is called:
private void set_OnActivateStrComplete(int nTransactionID, int nAbilityCode, byte bSuccess, string pszOutputs, int nUserPassBack)
{
Console.WriteLine("Inside
of the complete!");
Console.WriteLine(bSuccess);
Console.WriteLine(pszOutputs);
}

when bSuccess is output to the Console, a zero is printed, indicating failure.
does anyone have any suggestions?

[Non-text portions of this message have been removed]


[Non-text portions of this message have been removed]


Re: Launching Sonos App from inside Mobile

 

Use the multitasking dock or a four/five-finger swipe.

--- In Crestron@..., "peterjablonicky" <jablonko@...> wrote:

The string works nice.
But how to switch back to Crestron?


--- In Crestron@..., "appelguy123" <appelguy@> wrote:

The string just needs to be sonos://, that's all.

Also make sure that your sonos app is updated to the latest version.

--- In Crestron@..., "stainbow1" <stainbow1@> wrote:

SO I went to the online answer ID, and I saw I need the hook that SOnos has to make available. I checked 3 different websites that manage, or collect, this data. None of them had it.

So is that it? I'm out, not possible??

Is there a secret handshake I don't know yet? I thought I knew them all.


Thanks
Stephen D.


Re: Launching Sonos App from inside Mobile

peterjablonicky
 

The string works nice.
But how to switch back to Crestron?

--- In Crestron@..., "appelguy123" <appelguy@...> wrote:

The string just needs to be sonos://, that's all.

Also make sure that your sonos app is updated to the latest version.

--- In Crestron@..., "stainbow1" <stainbow1@> wrote:

SO I went to the online answer ID, and I saw I need the hook that SOnos has to make available. I checked 3 different websites that manage, or collect, this data. None of them had it.

So is that it? I'm out, not possible??

Is there a secret handshake I don't know yet? I thought I knew them all.


Thanks
Stephen D.


Re: c# development

 

You need to check on creatronlabs.com

Full c# programming is very much in beta still

On 2013-06-10, at 4:45 PM, Bradley Seman <el_perro_azul@...> wrote:

I did a search for c# in the Crestron group and it returned no results. Maybe i'm doing it wrong, but i'm new here.

We are trying to write a program in c# and part of the functionality needed to for it to be able to connect to a DMPS or MC2E and upload a new program for it and it's connected touch panel.

Our attempts at connecting to a device on the local network have not been successful.

The code we have been using is this (this is just test code, the actual code will use variable names instead of hard coded info):

VptSessionset = newVptSession();

private void btn_Load_Click(object sender, EventArgs e)
{
DialogResult result;
Form LoadForm = new LoadForm(listboxLoadList,
txtControlPanel.Text, txtTPProgram.Text, txtWebInterface.Text,
txtControlFirmware.Text, txtTPFirmware.Text);
result = LoadForm.ShowDialog();
if (result == System.Windows.Forms.DialogResult.OK)
{
//Here is
where we load the list
Console.WriteLine("New VtpSession created!");
set.OpenSession("tcp
10.25.146.126", "C# test");
Console.WriteLine("Session opened!");
int TransID = 0;
String program = ;//fill in your own path/file here
set.AsyncActivateStr(0, program, 10000, TransID, 0, 0);
Console.WriteLine("Session program send!");
}
else if (result ==
System.Windows.Forms.DialogResult.Cancel)
{
// Don't load the list
;
}
}
The program string is blank since you guys will have a different file and directory to use.

after this function is called the set_OnActivateStrComplete function is called:
private void set_OnActivateStrComplete(int nTransactionID, int nAbilityCode, byte bSuccess, string pszOutputs, int nUserPassBack)
{
Console.WriteLine("Inside
of the complete!");
Console.WriteLine(bSuccess);
Console.WriteLine(pszOutputs);
}

when bSuccess is output to the Console, a zero is printed, indicating failure.
does anyone have any suggestions?

[Non-text portions of this message have been removed]


c# development

Bradley Seman
 

I did a search for c# in the Crestron group and it returned no results. Maybe i'm doing it wrong, but i'm new here.

We are trying to write a program in c# and part of the functionality needed to for it to be able to connect to a DMPS or MC2E and upload a new program for it and it's connected touch panel.

Our attempts at connecting to a device on the local network have not been successful.

The code we have been using is this (this is just test code, the actual code will use variable names instead of hard coded info):

VptSessionset = newVptSession();

private void btn_Load_Click(object sender, EventArgs e)
{
DialogResult result;
Form LoadForm = new LoadForm(listboxLoadList,
txtControlPanel.Text, txtTPProgram.Text, txtWebInterface.Text,
txtControlFirmware.Text, txtTPFirmware.Text);
result = LoadForm.ShowDialog();
if (result == System.Windows.Forms.DialogResult.OK)
{
//Here is
where we load the list
Console.WriteLine("New VtpSession created!");
set.OpenSession("tcp
10.25.146.126", "C# test");
Console.WriteLine("Session opened!");
int TransID = 0;
String program = ;//fill in your own path/file here
set.AsyncActivateStr(0, program, 10000, TransID, 0, 0);
Console.WriteLine("Session program send!");
}
else if (result ==
System.Windows.Forms.DialogResult.Cancel)
{
// Don't load the list
;
}
}
The program string is blank since you guys will have a different file and directory to use.

after this function is called the set_OnActivateStrComplete function is called:
private void set_OnActivateStrComplete(int nTransactionID, int nAbilityCode, byte bSuccess, string pszOutputs, int nUserPassBack)
{
Console.WriteLine("Inside
of the complete!");
Console.WriteLine(bSuccess);
Console.WriteLine(pszOutputs);
}

when bSuccess is output to the Console, a zero is printed, indicating failure.
does anyone have any suggestions?

[Non-text portions of this message have been removed]


Re: The extended ASCII codes in 3-series

 

When using UTF-16, you don't use the "&#92;x" notation, you have to use "&#92;u" notation.

If you want codepoint U+AABB, then you write "&#92;uAABB". You don't write "&#92;xAA&#92;xBB" or such.

--- In Crestron@..., "kabza" <kabzaa@...> wrote:

Thanks for reply.



Also thought about it, but I had no way to check this. At the end of the
week I'll be working on it so check it out.



Regards





From: Crestron@... [mailto:Crestron@...] On Behalf
Of sebastiaanheemskerk
Sent: Monday, June 10, 2013 10:52 AM
To: Crestron@...
Subject: [Crestron] Re: The extended ASCII codes in 3-series





There is a change in character encoding. With a 3-series you can have ASCII
and UTF16. If you are using UTF16, you need to put in 2 bytes to represent 1
character.

To make it more 2-series compatible, you can put in the compiler directive:
#ENCODING_ASCII

Or probably put a &#92;x00 in front of your &#92;xB0 (may be behind the &#92;xB0 as
well, as Crestron uses UTF16-Little Endian.)

Kind regards,

Sebastiaan

--- In Crestron@... <mailto:Crestron%40yahoogroups.com> ,
"kabza" <kabzaa@> wrote:

When i wanted to get degree sign in simpl+ module i just get it with &#92;xB0.
The same module in 3-series and degree sign is not show. Is there any
changes in ascii table?



Regards










Adagio Processor: Type of Internal Flash - Number of program reload cycles

 

Just a short question about the internal Flash Memory that is used in the Adagio processors, e.g. AES:

Flash Memory has normally a limited number of rewrite cycles.
Does anyone know, what type is built in in the AES and how many program reloads to the internal Flash are possible?

Thanks for any Input.

-Werner


Re: Hd-ext-1c question

 

Thanks.

{Paf}
Le 10 juin 2013 08:29, "Jeremy Weatherford" <jweather@...> a crit :

**




IR in at the TX, out at the RX. Should work with 1-way 232, but most
likely will not work in the reverse direction. I don't see any limitations
on using 232 and IR at the same time.

On Sun, Jun 9, 2013 at 9:14 AM, Raph Paf <raphaelthiffault@...>
wrote:


I forgot to ask, can we use rs232 and ir at the same time?

Does the ir probe can be install at the any end?


--- In Crestron@..., Raphal Thiffault <raphaelthiffault@
...>
wrote:

Someone know if we could use the ir port of to be use has a serial one
way?

--
Envoy� avec Ipad Gmail Mobile // Sent with Ipad Gmail Mobile


[Non-text portions of this message have been removed]



------------------------------------




Check out the Files area for useful modules, documents, and drivers.

A contact list of Crestron dealers and programmers can be found in the
Database area.
Yahoo!
Groups Links



--
Jeremy Weatherford





Re: The extended ASCII codes in 3-series

kabza
 

I use e-mail client from the crestron database without any problem.



From: Crestron@... [mailto:Crestron@...] On Behalf
Of Andy A
Sent: Monday, June 10, 2013 5:47 PM
To: Crestron@...
Subject: [Crestron] Re: The extended ASCII codes in 3-series





So if I am reading correctly...you have been able to get a 3-series
processor to send an email message? Ever since I upgraded firmware to the
latest available (as of a week or so ago) my email has been non-existent.
Any help/guidance you could provide would be greatly appreciated!

--- In Crestron@... <mailto:Crestron%40yahoogroups.com> ,
Kool-Aid Drinker <herald@...> wrote:

If you look at the full headers or "source" of a 2-series email,
you'll see a Content-type: header with a specific char set.

Compare 3-series.

With no char set designated, a 3-series email is at the mercy of email
reading program, OS internationalization, etc. Results WILL vary.

Complain to True Blue. As the basis of the email sender, they used a
free C# library that was known to have issues, but didn't apply any of
the readily available fixes.

On Sun, 9 Jun 2013 18:12:02 +0200, "kabza" <kabzaa@...> wrote:

It is not for panel. It is for -e-mail message. Here is my simpl+ code
that
is working well in 2-series but in 3-series degree sign is not show.



message$ = date(1)+" "+time()+" - Temperature is "+ Temp$ + " &#92;xB0C";



Here is e-mail message:



06/09/2013 17:22:15 - Temperature is 35.0 ?C



Regards



From: Crestron@... <mailto:Crestron%40yahoogroups.com>
[mailto:Crestron@... <mailto:Crestron%40yahoogroups.com> ] On
Behalf
Of Lincoln King-Cliby
Sent: Sunday, June 09, 2013 5:55 PM
To: 'Crestron@...
<mailto:%26%2339%3BCrestron%40yahoogroups.com> '
Subject: RE: [Crestron] The extended ASCII codes in 3-series





What panel are you using?

It's likely not a control system issue, but a panel issue.

If it's a TSW... this was working early on, broken in firmware and
reported
quite a while ago, and AFAIK still not fixed (though it's been a few
weeks
since I've had time to play with it)

Lincoln


Re: The extended ASCII codes in 3-series

kabza
 

Thanks for reply.



Also thought about it, but I had no way to check this. At the end of the
week I'll be working on it so check it out.



Regards





From: Crestron@... [mailto:Crestron@...] On Behalf
Of sebastiaanheemskerk
Sent: Monday, June 10, 2013 10:52 AM
To: Crestron@...
Subject: [Crestron] Re: The extended ASCII codes in 3-series





There is a change in character encoding. With a 3-series you can have ASCII
and UTF16. If you are using UTF16, you need to put in 2 bytes to represent 1
character.

To make it more 2-series compatible, you can put in the compiler directive:
#ENCODING_ASCII

Or probably put a &#92;x00 in front of your &#92;xB0 (may be behind the &#92;xB0 as
well, as Crestron uses UTF16-Little Endian.)

Kind regards,

Sebastiaan

--- In Crestron@... <mailto:Crestron%40yahoogroups.com> ,
"kabza" <kabzaa@...> wrote:

When i wanted to get degree sign in simpl+ module i just get it with &#92;xB0.
The same module in 3-series and degree sign is not show. Is there any
changes in ascii table?



Regards





Re: Vtpro-e or Windows (saving a file with version number no longer works)

 

Use a dash 1-1, 1-2.

--- In Crestron@..., "avsystemdesign" <avsystemdesign@...> wrote:

I'm not sure if this is a Vtpro-e thing or Windows...
I normally save a new file as v1.1, followed by v1.2 etc.
But, Vtpro-e won't do that anymore, it does not see the .2 for example, so instead it saves it as v1 (which can for obvious reason wreck havoc).

Anyone come across this? Is there a patch or workaround?


Re: Vtpro-e or Windows (saving a file with version number no longer works)

 

Don't save as in VTP, copy and rename? :)

--
Lincoln King-Cliby, CTS
Commercial Market Director
Sr. Systems Architect | Crestron Certified Master Programmer (Silver)
ControlWorks Consulting, LLC
V: 440.449.1100 x1107 | F: 440.449.1106 | I:
Crestron Services Provider

-----Original Message-----
From: Crestron@... [mailto:Crestron@...] On Behalf Of avsystemdesign
Sent: Monday, June 10, 2013 3:07 PM
To: Crestron@...
Subject: [Crestron] Re: Vtpro-e or Windows (saving a file with version number no longer works)

This has to be a Vtpro-e thing, as Simpl Windows still lets me save version numbers. For some very strange reason Vtpro-e cuts off any file name characters after the period. WTF!?

--- In Crestron@..., "avsystemdesign" <avsystemdesign@...> wrote:

I'm not sure if this is a Vtpro-e thing or Windows...
I normally save a new file as v1.1, followed by v1.2 etc.
But, Vtpro-e won't do that anymore, it does not see the .2 for example, so instead it saves it as v1 (which can for obvious reason wreck havoc).

Anyone come across this? Is there a patch or workaround?



------------------------------------



Check out the Files area for useful modules, documents, and drivers.

A contact list of Crestron dealers and programmers can be found in the Database area.
Yahoo! Groups Links


Re: Vtpro-e or Windows (saving a file with version number no longer works)

 

This has to be a Vtpro-e thing, as Simpl Windows still lets me save version numbers. For some very strange reason Vtpro-e cuts off any file name characters after the period. WTF!?

--- In Crestron@..., "avsystemdesign" <avsystemdesign@...> wrote:

I'm not sure if this is a Vtpro-e thing or Windows...
I normally save a new file as v1.1, followed by v1.2 etc.
But, Vtpro-e won't do that anymore, it does not see the .2 for example, so instead it saves it as v1 (which can for obvious reason wreck havoc).

Anyone come across this? Is there a patch or workaround?


Vtpro-e or Windows (saving a file with version number no longer works)

 

I'm not sure if this is a Vtpro-e thing or Windows...
I normally save a new file as v1.1, followed by v1.2 etc.
But, Vtpro-e won't do that anymore, it does not see the .2 for example, so instead it saves it as v1 (which can for obvious reason wreck havoc).

Anyone come across this? Is there a patch or workaround?