Keyboard Shortcuts
Likes
- Crestron
- Messages
Search
Re: Simpl+ ITOHEX question
¿ªÔÆÌåÓýOk¡ so a couple points: ?
? has been my go-to resource for conversions for nearly 20 years now (eek!) and you can see there, generally speaking, values <= 1Fh (31 decimal) and >= 7Fh (127 decimal) are not printable; actually 80h and above aren¡¯t strictly speaking not printable but they¡¯re non-printable as far as Toolbox is concerned; and a bit of an example of the evolution from 7-bit ASCII to 8-bit ASCII ? -- Lincoln King-Cliby, CTS, DMC-E-4K/T/D ? From: Crestron@... <Crestron@...>
Sent: Monday, January 21, 2019 8:31 PM To: Crestron@... Subject: [Crestron] Simpl+ ITOHEX question ?
? ?I'm new to S+ and I'm trying to append a hex checksum to a string. The weird thing I'm seeing is that when I send a decimal value into my checksum logic it appends it but the ITOHEX will render each character of a say 8A as \x38\42. This is with debugger set to output hex only on that string. If I have the output character set to default there is a smattering of ASCII characters in the string even though I'm sending strings directly from debugger!? I've tried several iterations of the logic to no avail. Please help. ? Thanks.
|
Simpl+ ITOHEX question
Hi All,
?I'm new to S+ and I'm trying to append a hex checksum to a string. The weird thing I'm seeing is that when I send a decimal value into my checksum logic it appends it but the ITOHEX will render each character of a say 8A as \x38\42. This is with debugger set to output hex only on that string. If I have the output character set to default there is a smattering of ASCII characters in the string even though I'm sending strings directly from debugger!? I've tried several iterations of the logic to no avail. Please help. Thanks. |
MC3 - Issue
I am hoping someone can help me.? My gut is telling me my SD Card is beginning to go on a MC3, but the odd thing is I can load previous versions of my program and write them successfully to the processor.? The minute I make any change and recompile, it ultimately ends up being loaded to the processor, but never runs.? Here is a dump of the error log.? I can't think of what could be causing this. 132. Error: LogicEngine.exe # 2019-01-21 19:34:10? # SplusIntfc: Registration failed = 2 133. Error: LogicEngine.exe [App 1] # 2019-01-21 19:34:10? # Could not find SIMPL+ module Remote_Service_Connection_Manager_v1_1_1.dll in S-12.1:S-3. 134. Fatal: LogicEngine.exe [App 1] # 2019-01-21 19:34:10? # Unable to Load SIMPL+ Module(s) - terminating program load. 135. Exception 'Raised Exception' (-1): Thread-Id=09c4004a(pth=87216910), Proc-Id=0913007a(pprc=874894c8) 'LogicEngine.exe', VM-active=0913007a(pprc=874894c8) 'LogicEngine.exe' 136. PC=4006a020(coredll.dll+0x0005a020) RA=8021a2c8(kernel.dll+0x000062c8) SP=002afcc8, BVA=002afcfc 137. Fatal: LogicEngine.exe [App 1] # 2019-01-21 19:34:10? # Exception [SIMPL+ Module Not Found] in CControlSystem occured 138. Error: LogicEngine.exe [App 1] # 2019-01-21 19:34:12? #? Simpl Plus Manager terminated. Restarting program? 139. Error: LogicEngine.exe [App 1] # 2019-01-21 19:34:21? # Timeout waiting for end of configuration confirmation from slave Slot-02.IP-ID-16. 140. Fatal: LogicEngine.exe [App 1] # 2019-01-21 19:34:42? # Unable to stop S+ exit thread.? 141. Error: TLDM.exe # 2019-01-21 19:34:42? #? CTLDMEthernetStackApplication - Unable to exit App Specific Rcv Thread? 142. Notice: TLDM.exe # 2019-01-21 19:34:44? # **Program 1 Stopped** 143. Error: nk.exe # 2019-01-21 19:34:44? # WDG: LogicEngine shutting down unexpectedly. Do Not Start=0 144. Info: LogicEngine.exe [App 1] # 2019-01-21 19:34:53? # Loading program from \SIMPL\app01 145. Info: LogicEngine.exe [App 1] # 2019-01-21 19:34:53? # Loading Program \SIMPL\app01\FreerTheater - v80.bin. 146. Error: splusmanagerapp.exe [App 1] # 2019-01-21 19:35:27? # Got load exception System.TypeLoadException: File or assembly name 'SimplSharpCryptographyInterface, Version=1.0.6197.21123, Culture=neutral, PublicKeyToken=1099C178B3B54C3B', or one of its dependencies, was not found. ? ?at System.Reflection.Module.GetT147. Error: splusmanagerapp.exe [App 1] # 2019-01-21 19:35:27? # ypes() ? ?at Crestron.Logos.SplusManager.SplusManager.LoadModule(SPLUS_INTERFACE_MODULE_REGISTER_MESSAGE_STRUCT regMsg) ? ?at Crestron.Logos.SplusManager.SplusManager.c() ? ?at Crestron.Logos.SplusManager.SplusManager.aa(Object A_0, EventArgs A_1) ? ?148. Error: splusmanagerapp.exe [App 1] # 2019-01-21 19:35:27? # at Crestron.Infrastructure.CresMsgQ.RaiseDataOnQueueEvent(Object obj, EventArgs args) ? ?at Crestron.Infrastructure.CresMsgQP2P.d() |
Re: simpl#
¿ªÔÆÌåÓýDepends on what you mean by ¡®send¡¯. ? If it¡¯s something synchronous or an async driven from the S+ side you can use a public string (or the return value from a function) to get ¡®read¡¯ S# data ? If it¡¯s something asynchronous from the S# side you can fire an event with the string in the event args. ? Beware each time you cross the managed code boundary between S+ and S# you see a bit of a performance penalty so it is best to package data in such a way as to minimize the number of times you¡¯re going back and forth¡ ? Lincoln ? -- Lincoln King-Cliby, CTS, DMC-E-4K/T/D ? From: Crestron@... <Crestron@...>
Sent: Monday, January 21, 2019 10:11 AM To: Crestron@... Subject: [Crestron] simpl# ?
Hi all, ? Recently embarked on the simpl# journey and there are a few things that I'm struggling with. The main one at the moment is how to send a string from simpl# to simpl+.? ? Can anyone out there help me with how to do it? ? cheers, ? Jon ?
|
Re: Sending commands to Echo
toggle quoted message
Show quoted text
On Jan 19, 2019, at 4:05 PM, Lincoln King-Cliby lincoln@... [Crestron] <Crestron@...> wrote:
|
Re: Sending commands to Echo
Or stick one of these to your Alexa and have it play audio files:
|
Re: Sending commands to Echo
¿ªÔÆÌåÓýPut a touchpanel next to the Echo and have it play MP3s ¡°Alexa, unlock the front door¡± ? Absolutely fool proof :) ? ? -- Lincoln King-Cliby, CTS, DMC-E-4K/T/D ? From: Crestron@... [mailto:Crestron@...]
Sent: Friday, January 18, 2019 11:10 AM To: Crestron@... Subject: [Crestron] Sending commands to Echo ?
Maybe I have missed it, but I am wondering if we have a way to send commands to Alexa to operate things it controls that we do not currently have direct control of but it does. ?Is there a way for me to have Crestron tell Alexa to lock the door, for example.
|
Re: Samsung DB55e direct channel call?
Do you have information on how the Channel (Major and/or Minot) Hi-Low are divided up between the two bytes? I don't currently have a TV to test against.
|
Re: Sending commands to Echo
I was literally just thinking about this exact thing 2 hours ago, haven't tried it since I was at work. But I was thinking if you created a dummy light load in your crestron program using logic to actually drive it and then obviously discovered it with alexa, that you could set up a routine from there when the device did something. Just a thought, like I said, haven't tested it out yet. Hope it helps. Kevin
|
Re: Fusion discovery with multiple programs?
¿ªÔÆÌåÓýThank you for your reply Jason.??As I indicated in an earlier email each programs¡¯ fusion symbol has a unique IP ID. Thank you. On Jan 18, 2019, at 2:03 PM, jasonmussetter@... [Crestron] <Crestron@...> wrote:
|
Re: Fusion discovery with multiple programs?
¿ªÔÆÌåÓý? Interesting... Why have the 1 on the update digital? In Fusion class they had us pulse it at midnight. Do you know what the limit is for Fusion Room symbols in one program slot? The FSG folks had me set it up this way. They are super helpful, just very busy. They are contacting me Monday morning. Thanks for the info William.On Jan 18, 2019, at 1:01 PM, williamprice880@... [Crestron] <Crestron@...> wrote:
|