Keyboard Shortcuts
Likes
- Crestron
- Messages
Search
Re: String
You're mixing levels... hex escapes like \xFF are interpreted by the compiler.? You're sending literal strings with 4 characters per byte: backslash, x, high nibble, low nibble.? Should be:
makestring(Output$,¡±ABC\x00\x00\x%c%c%c%c\r",byte4, byte3, byte2, byte1); %c prints a single byte (or Character) with the specified value.? It is the dynamic equivalent to using the static \x00 escape.
|
String
I had to try it to find out . . . Too easy. ?Of course it didn¡¯t work . . . Since you have converted the input to a long_integer, you already have the 4 bytes. ?? long_integer ? li_number; integer ? byte1, byte2, byte3, byte4; ? ?? ?? ? ? byte1 = li_number & 255; ?// extract the lowest byte ? ? byte2 = (li_number}}8) & 255; //shift the number to the right by 8 bits (1 byte) and extract the next lowest byte ? ? byte3 = (li_number}}16) & 255; //etc. ? ? byte4 = (li_number}}24) & 255; //etc. ?? ? ? makestring(Output$,¡±ABC\\x00\\x00\\x%02X\\x%02X\\x%02X\\x%02X\r",byte4, byte3, byte2, byte1); ? |
Samsung LAN port going to sleep
Hello, I am controlling a Samsung DC55E TV over IP (which is working fine when powered on), When I shut the TV off, The LAN ort also shuts off and I lose control.? I looked for a network standby feature, but I do not see one in any menu. Can someone help? Is there anything in the secret service menu? Thanks. |
Re: NVX And Dante
Thanks, Brian! I'll check these out.? If I have any questions / comments / suggestions, I'll make sure to reach out. - Phil
|
Re: NVX And Dante
Phil,
I just added some config files to the Files section. They are for the 350X series, but hopefully they will be close enough to be helpful. To get you pointed in the right direction, I have this three-switch isolated network configured as a star with a router on a stick with a Cisco RV340 connected to GE1 of the core switch. The router is handling the inter-VLAN routing between VLAN 1 (Control & NVX) and VLAN 2 (Dante). The ten-gigabit ports are being used to uplink the two edge switches to the core and are set up as trunks. There are also a couple trunk ports set up for the two WAPs in the system. I have QoS set to favor Dante clock and audio in the two highest DSCP queues, with NVX video in the third priority DSCP queue. I kinda stole this philosophy from QSC's recommendations for QoS for AES67 with video, and it seems to be working just fine here. Currently all Dante in this system is unicast, but I do have the VLAN set up for IGMP snooping just in case. The core is the only switch with IGMP queriers implemented for both VLANs, but snooping is enabled across the network. Hopefully this helps! Let me know if you have any questions once you've looked at the configs. |
New file uploaded to Crestron
Hello,
This email message is a notification to let you know that a file has been uploaded to the Files area of the Crestron group. File : /Documents/cisco-sg350x_configs.zip Uploaded by : brian.erch <brian.erch@...> Description : Cisco SG350X configuration template files for Control, DM-NVX, and Dante. You can access this file at the URL: To learn more about file sharing for your group, please visit: Regards, brian.erch <brian.erch@...> |
iPhone app slow response.
We have a creation cp3 programmes for 4 iPhones. Lately we are finding that the app response is extremely slow. After you have pressed a button the action sometimes take over 5 seconds. Sometimes they just stack up and you suddenly have we triggers after a few seconds.
Could someone guide us on how do we start investigating where the problem could lie. Thanks in advance DV |
Re: TPS-6X VT-Proe File uploading error
I had this issue a few times. Be sure that you have "Send all files" checked and not "Modified Files Only".
If that doesn't work you will have to do an initialize and restore first. Make sure you are running 3.001.0076 firmware or higher on the panel. If not you will need to install that first. |
TPS-6X VT-Proe File uploading error
Hi,
While uploading files to TPS-6X, the toolbox is throwing an error, please check the attachments.?FYI, file/object names does not have any special characters and image format used as 'png' only. Any of you have faced like these scenario? or any thoughts.. Thanks,- Santhosh [Non-text portions of this message have been removed] |
Re: Simpl + String Building
I had to try it to find out . . . Too easy. ?Of course it didn¡¯t work . . . Since you have converted the input to a long_integer, you already have the 4 bytes. ?? long_integer ? li_number; integer ? byte1, byte2, byte3, byte4; ? ?? ?? ? ? byte1 = li_number & 255; ?// extract the lowest byte ? ? byte2 = (li_number}}8) & 255; //shift the number to the right by 8 bits (1 byte) and extract the next lowest byte ? ? byte3 = (li_number}}16) & 255; //etc. ? ? byte4 = (li_number}}24) & 255; //etc. ?? ? ? makestring(Output$,"ABC\\x00\\x00\\x%02X\\x%02X\\x%02X\\x%02X\r",byte4, byte3, byte2, byte1); ? From: <Crestron@...> on behalf of "Kol Johnson kol.mstc@... [Crestron]" <Crestron@...> Reply-To: <Crestron@...> Date: Wednesday, January 2, 2019 at 8:47 PM To: <Crestron@...> Subject: Re: [Crestron] Re: Simpl + String Building ?
So, have you tried dumping the long integer straight into makestring using %lx or maybe %4lx? something like ?? MakeString(Output$, "ABC\x00\x00%4lx\x0D", number); From: <Crestron@...> on behalf of "nomorefloydsound@... [Crestron]" <Crestron@...> R eply-To: <Crestron@...> Date: Wednesday, January 2, 2019 at 12:35 PM To: <Crestron@...> Subject: [Crestron] Re: Simpl + String Building ?
Thank you for reply, Dustin... The string coming in "10B0B" was already the hex equivalent of my converted long integer.? So it came in 68363 as a string, I converted it to a LONG INTEGER and then took the value of the LONG INTEGER and converted it to HEX using LToHex. which gave me 10B0B. So, I then made the string... Byte3 = MID(CodeInHex, 1, 1); Byte2 =
MID(CodeInHex, 2, 2); Byte1 = MID(CodeInHex, 4, 2); MakeString(Output$, "ABC\x00\x00\\x0%1s\\x%2s\\x%2s\x0D", Byte3, Byte2, Byte1); The Output$ string, when brought into SIMPL windows, shows EXACTLY what I need, but, when I try and send that code out of a PUSH statement it doesn't format it correctly. PUSH Press
{?? ? ?String rString[50];?rString = TestModule.SendToDest(Output$); ?Print("Server Response = %s\n",rString); ?Server_Response = rString; } |
Re: Simpl + String Building
So, have you tried dumping the long integer straight into makestring using %lx or maybe %4lx? something like ?? MakeString(Output$, "ABC\x00\x00%4lx\x0D", number); From: <Crestron@...> on behalf of "nomorefloydsound@... [Crestron]" <Crestron@...> Reply-To: <Crestron@...> Date: Wednesday, January 2, 2019 at 12:35 PM To: <Crestron@...> Subject: [Crestron] Re: Simpl + String Building ?
Thank you for reply, Dustin... The string coming in "10B0B" was already the hex equivalent of my converted long integer.? So it came in 68363 as a string, I converted it to a LONG INTEGER and then took the value of the LONG INTEGER and converted it to HEX using LToHex. which gave me 10B0B. So, I then made the string... Byte3 = MID(CodeInHex, 1, 1); Byte2 = MID(CodeInHex, 2, 2); Byte1 = MID(CodeInHex, 4, 2); MakeString(Output$, "ABC\x00\x00\\x0%1s\\x%2s\\x%2s\x0D", Byte3, Byte2, Byte1); The Output$ string, when brought into SIMPL windows, shows EXACTLY what I need, but, when I try and send that code out of a PUSH statement it doesn't format it correctly. PUSH Press
{?? ? ?String rString[50];?rString = TestModule.SendToDest(Output$); ?Print("Server Response = %s\n",rString); ?Server_Response = rString; } |
Re: Simpl + String Building
Is there any delimiter for the incoming string? ?Is the only content of the string a character representing a hexadecimal value (0-9, a-f), and is the case always the same or mixed? From: <Crestron@...> on behalf of "nomorefloydsound@... [Crestron]" <Crestron@...> Reply-To: <Crestron@...> Date: Monday, December 31, 2018 at 8:59 AM To: <Crestron@...> Subject: [Crestron] Simpl + String Building ?
I am looking to simply build a custom string from an incoming serial signal (SerIn$) to output to a device which requires a certain string size [9]. For instance my serial signal comes in "10B0B".? I need to send that string to the device in this form "ABC\x00\x00\x01\x0B\x0B\x0D" What's the best method to do so in S+?? Furthermore, what happens if SerIn$ string size comes in smaller.? For instance:? "7B" or "4D2".? How could I anticipate this to create strings like:??"ABC\x00\x00\x00\x00\x7B\x0D" or?"ABC\x00\x00\x00\x04\xD2\x0D"
|
Re: Samsung QB Series
Don't you need the ID to get feedback? Or is that no longer the case?
|
Re: Tesla Vehicle Control Kit
¿ªÔÆÌåÓýAlso, I assume you have access to Toolbox, is that correct? ? From: Crestron@... [mailto:Crestron@...]
Sent: Monday, December 31, 2018 3:40 PM To: Crestron@... Subject: [Crestron] Re: Tesla Vehicle Control Kit ? ? I have 2 powerwalls installed at my home. Let me know if you need someone to test any code for the powerwalls. |
Re: Tesla Vehicle Control Kit
¿ªÔÆÌåÓýI might be able to play around a little bit with something in my spare time, and toss something your direction to test with. ? Are you working with a series 3 processor? ? From: Crestron@... [mailto:Crestron@...]
Sent: Monday, December 31, 2018 3:40 PM To: Crestron@... Subject: [Crestron] Re: Tesla Vehicle Control Kit ? ? I have 2 powerwalls installed at my home. Let me know if you need someone to test any code for the powerwalls. |
Polycom HDX-8000 Local address book issue
Hey there, Haven't worked on an HDX in a long while. Using the HDX-9000 v3.5 module. The GET_ADDRESSBOOKS_BUSY signal goes high and stays high. Any experience with this issue? Using an RMC3 and most if not all other controls seems to working just fine. Thanks! -J |
Re: TSR-310
Hi All,
I too have been wondering the same thing since the TSR-310 came out.? Anyways, I finally called Crestron, here is their scripted?response...... "Customers are curious about seamless swiping seen ~57 sec in the ISE 2018 video demo (on TSR-310 product page & Vimeo channel).? This is part of an OOTBF project made in HTML5.? SmartGraphics can use a Swiper object and dynamically driven Subpage Transitions (flyfromleft, flyfromright, etc.), but it will not be seamless as seen in the video." I asked about the "OOTBF project" and they said it is not available (I think it might have been made by a third party). Anyways, I'm going to attempt the SmartGraphics first, and then if I get super motivated I'll see if I can attempt HTML5 (or, more likely, find someone who can). I'll post if I have success. Happy New Year Ed. |
SX-80 one Button to push v2.4
we are experiencing an issue by where there is a meeting that will appear with "No Title" there is no rhyme or reason at to why this title has no information. If I go to the touch 10 the meeting has a title. ?Has anyone else experiences this issue? if so, has anyone found a work around? Thank You |
Re: NVX And Dante
Thanks for the follow-up!? Any configs you can send would be appreciated. Currently, I am wrestling with a SG350 in our lab.? We have a few installations where we have Dante installations where our switch sits on a corporate network.? Some sort of traffic is killing some of our flows at undetermined frequencies.? The thought was to VLAN off the Dante devices, allowing the control processor to see them for control.? I'm a masochist, so I figured I'd throw NVX onto our test switch as well.? I currently have a Dante VLAN (VLAN2) and an NVX VLAN (VLAN3), with a couple of ports configuired as Cisco trunk ports (in all three VLANS).? From one of these ports, I can ping / telnet into the NVX devices and the Dante devices, but I haven't been able to get device discovery to work yet on non-dedicated VLAN ports.
|