Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Crestron
- Messages
Search
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 "\x" notation, you have to use "\u" notation.
toggle quoted message
Show quoted text
If you want codepoint U+AABB, then you write "\uAABB". You don't write "\xAA\xBB" or such. --- In Crestron@..., "kabza" <kabzaa@...> wrote:
|
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.
toggle quoted message
Show quoted text
{Paf} Le 10 juin 2013 08:29, "Jeremy Weatherford" <jweather@...> a crit : ** |
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: that [mailto:Crestron@... <mailto:Crestron%40yahoogroups.com> ] Onis working well in 2-series but in 3-series degree sign is not show. Behalf <mailto:%26%2339%3BCrestron%40yahoogroups.com> 'Of Lincoln King-Cliby reportedSubject: RE: [Crestron] The extended ASCII codes in 3-series weeksquite a while ago, and AFAIK still not fixed (though it's been a few since I've had time to play with it) |
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 \x00 in front of your \xB0 (may be behind the \xB0 as well, as Crestron uses UTF16-Little Endian.) Kind regards, Sebastiaan --- In Crestron@... <mailto:Crestron%40yahoogroups.com> , "kabza" <kabzaa@...> wrote:
|
Re: Vtpro-e or Windows (saving a file with version number no longer works)
Use a dash 1-1, 1-2.
toggle quoted message
Show quoted text
--- In Crestron@..., "avsystemdesign" <avsystemdesign@...> wrote:
|
Re: Vtpro-e or Windows (saving a file with version number no longer works)
Don't save as in VTP, copy and rename? :)
toggle quoted message
Show quoted text
-- 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:
------------------------------------ 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!?
toggle quoted message
Show quoted text
--- In Crestron@..., "avsystemdesign" <avsystemdesign@...> wrote:
|
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? |
Re: The extended ASCII codes in 3-series
Andy A
Using a Crestron send email module or home-made?
toggle quoted message
Show quoted text
--- In Crestron@..., Kool-Aid Drinker <herald@...> wrote:
|
Re: The extended ASCII codes in 3-series
Kool-Aid Drinker
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 |
Re: Another samsung ex-link question
PRO2
toggle quoted message
Show quoted text
On Mon, Jun 10, 2013 at 12:58 PM, Oliver <oliver@...> wrote:
Jeremy --
Jeremy Weatherford |
Re: Circular D-pad? Non-Core3
jmacd2918
Great suggestions, just what I needed to bust my brain out of the box. honestly, the thought of putting buttons [i]over[/i] the graphic never occurred to me.
toggle quoted message
Show quoted text
I think I'm going to create an animation, that sounds like the easiest plan. Thank you both. --- In Crestron@..., Eric Williams <ewilliams0305@...> wrote:
|
Re: BACNET question
Tres
They will point to you. You do not need their IP address.
tres From: Crestron@... [mailto:Crestron@...] On Behalf Of p00pb0t Sent: Monday, June 10, 2013 1:22 PM To: Crestron@... Subject: [Crestron] BACNET question So I am doing my first BACNET integration. I have the address of the HVAC guys BACNET router and I am waiting on Crestron's email with my 50+ license on my MC3. While I am waiting I am playing with the BACNET symbols. However I am not seeing where I would enter the IP address of the BACNET router so the Crestron will communicate to the HVAC guys equipment. Am I missing it somewhere? _____ No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.3343 / Virus Database: 3199/6397 - Release Date: 06/09/13 |
BACNET question
So I am doing my first BACNET integration. I have the address of the HVAC guys BACNET router and I am waiting on Crestron's email with my 50+ license on my MC3. While I am waiting I am playing with the BACNET symbols. However I am not seeing where I would enter the IP address of the BACNET router so the Crestron will communicate to the HVAC guys equipment. Am I missing it somewhere?
|
Re: New iOS App?
Hey Crestron, great job on the new app! I've been experimenting with it for the last few hours and find it to be a huge upgrade from the old version. I "save-as"ed some TSW-750 projects to the iPhone 5 app and they are surprisingly usable! I'm not doing a lot of stuff with the Smart Objects and Apps, but the regular stuff works just as well or better than the TSW.
My only complaint would be about the in-app upgrade method, makes it difficult to deploy commercially and educationally. I understand this has a lot do do with Apple. Should work fine for residential customers. I finally enjoy doing iOS projects! |
Re: Streaming Radio Question
Joe Hostyn
Brilliant, worked for a couple of stations, now lets see how long the URL's last!
________________________________ From: Chris Niles <chris.niles.crestron@...> To: Crestron-yahoogroups. com <Crestron@...> Sent: Monday, June 10, 2013 8:38:55 AM Subject: Re: [Crestron] Streaming Radio Question Have you tried listening with WireShark to figure bout the URL that the Flash player is calling? Chris On Jun 9, 2013 11:59 PM, "joehostyn" <joehostyn@...> wrote: ** [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 [Non-text portions of this message have been removed] |
Re: OT: CAT5-powered speakers
Heath Volmer
I agree that it needs to be done right, unfortunately this house was built in a manner that may resist any or all attempts at retrofit wiring. I happened to be there on a day that the contractors were there looking at how to install a non-central AC system and heard one of the contractors say "this is the only dropped ceiling in the whole house" - pointing at a four-foot section of hallway ;-(
I can't use crap. I see that Channel Vision has an ABUS amp that it locally powered. Might be an option........ Stupid "wire-saving" products. I've never understood why dealers skimp on these style of houses. On Jun 10, 2013, at 10:38 AM, Eric Williams <ewilliams0305@...> wrote: ATON or an abus system, but it sucks... All 8 watts, boo. You can use voltage to trigger them on and off. The newer russound version of a abuss may have a commport you can use to adjust volume and source in each room. Personally I would sell some wiring$$$ we all want to make our clients happy but its our responsibility to do the Job correctly especially when taking over a system that is probably a disaster. They will be happier long term. [Non-text portions of this message have been removed] |
Re: Another samsung ex-link question
Jeremy
toggle quoted message
Show quoted text
Was that at 3 series job? --- In Crestron@..., Jeremy Weatherford <jweather@...> wrote:
|
to navigate to use esc to dismiss