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
Wireless RS-232
OT: Anyone have any experience using wireless RS-232 equipment.
I have some old Lutron Homeworks equipment that needs modification routinely, but unfortunately, is not in the room where the lights are. I would love to be able to modify light levels without having to run back and forth from equipment room to living area. Joe |
Re: Clearing 3-series processor
Ipt -p:ALL -c
Have you try that {Paf} Le 9 mai 2013 23:01, "Chen Zhihao" <bobbylken@...> a crit : ** [Non-text portions of this message have been removed] |
Re: Clearing 3-series processor
I haven't tried it, but a RESTORE at the console might do the trick.
toggle quoted message
Show quoted text
--- In Crestron@..., Chen Zhihao <bobbylken@...> wrote:
|
Re: Trying to parse RS232
Thanks for the replies, basically this is how a Hitachi projector returns its lamp hours, I know the lamp has currently done 974 hours.
toggle quoted message
Show quoted text
Which in HEX is 3CE, so I want to strip out everything else and pass out 3CE to another module to convert the hex to decimal to get 974 (or whatever the hours our). Matt you said I'm having issues because I'm starting my mid after the length of the string, how can I correct this? --- In Crestron@..., "madbanzai88" <danielteed@...> wrote:
|
Re: Trying to parse RS232
The first argument to REMOVE() is the delimiter expected at the END of the
toggle quoted message
Show quoted text
line. Unless your next line starts with \x1D, this will not produce the results you're looking for. Does your protocol have a consistent end-of-line delimiter? If not, what about a consistent header? On Fri, May 10, 2013 at 6:45 AM, madbanzai88 <danielteed@...> wrote:
Hi All, --
Jeremy Weatherford |
Re: OT - HDBaseT alternatives
Josh Tyson
The only product that I have seen do this is the DM card frame systems.
On Thursday, May 9, 2013, Etienne wrote: ** -- Josh Tyson ENCO Electronics Systems www.encoelectronics.com [Non-text portions of this message have been removed] |
Re: Trying to parse RS232
So you want acii or hex? 03CE as ascii is far different that \x03\xCE. One is 4 bytes long, one is 2.
toggle quoted message
Show quoted text
You're having issues because you're starting the mid after the length of your string. --- In Crestron@..., "madbanzai88" <danielteed@...> wrote:
|
Trying to parse RS232
Hi All,
I would really appreciate some help, as I can't see what I'm doing wrong. I've got an RS232 command "\x1D\xCE\x03" that I want to output as 03CE. Here's what I have so far: if (Find("\x1D", FromDevice$)) { Stored$ = FromDevice$; Trash$ = remove("\x1D", Stored$); // Stored$ = \xCE\x03 string1 = mid(Stored$,3,3); output$ = string1; } I've done this to test, to see if I could get the middle of Stored$. So I would expect output$ to be "E\", but its coming out empty. What am I doing wrong? |
Re: IR drivers or RS232 module??
Hi Harold,
toggle quoted message
Show quoted text
I typed "HDSW4x1 protocol" into google, and received this link. Page 4. It couldn't be easier. If this doesn't help, then I'd suggest contacting Crestron for additional training, or - with respect - pass the job on, to a professional programmer. Regards, Ol --- In Crestron@..., "Harold" <hlaudio@...> wrote:
|
Re: AV2 rebooting continously after program upload
I am with you. How old is the av2. Can you load the program to another 2series and it will run?
toggle quoted message
Show quoted text
--- In Crestron@..., jason santlofer <jason@...> wrote:
|
Re: AV2 rebooting continously after program upload
Did you do a recompile all on the program not a straight compile?
toggle quoted message
Show quoted text
--- In Crestron@..., "coolaiddrinker" <coolaiddrinker@...> wrote:
|
Re: SnapAV Wattbox effectiveness and Integration
Kool-Aid Drinker
I can expect that encoder by ?
toggle quoted message
Show quoted text
:-P On Fri, 10 May 2013 03:13:25 -0000, "Chip" <cfm@...> wrote:
|
Re: SnapAV Wattbox effectiveness and Integration
Chip
Oh - that would be fun. :)
toggle quoted message
Show quoted text
Sorry - didn't realize you had cooked something in SIMPL only! Love that... - Chip --- In Crestron@..., Kool-Aid Drinker <herald@...> wrote:
|
Re: SnapAV Wattbox effectiveness and Integration
Kool-Aid Drinker
Indeed there are many. And I especially love the one you'll find some
toggle quoted message
Show quoted text
of Crestron's example programs -- it manages to not be binary safe. But! How often are you changing the password for a power piece? Is it really worth the effort? And so far I'm using Simpl only. So I'll need a matching Simpl only base64 encoder... On Fri, 10 May 2013 02:54:06 -0000, "Chip" <cfm@...> wrote:
|
Clearing 3-series processor
Chen Zhihao
Hi all,
Anybody know of a way to clearing all the 10 program and IP table of a 3-series processor instead of doing it one by one in toolbox? Thank you all. cheers, Ken *^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^* Learn to focus on solutions not on problems "If you look at what you do not have in life, you don't have anything" "If you look at what you have in life, you have everything" *^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^*^* [Non-text portions of this message have been removed] |
Re: SnapAV Wattbox effectiveness and Integration
Chip
You know there are a few examples of Base64 encoders around - I swear one is in the file section...
toggle quoted message
Show quoted text
- Chip --- In Crestron@..., Kool-Aid Drinker <herald@...> wrote:
|
Re: S+ Parsing
Chip
No documentation outside of what's here on the forum, but there's also not a lot to it.
toggle quoted message
Show quoted text
WHILE(1) Says, take the code enclosed in the following curly braces and run it OVER AND OVER AGAIN - FOREVERRRRRRRR! In most circumstances that classifies as A Very Bad Thing (tm). But if you include code inside the curly braces that returns time to the OS and the host SIMPL program, you're good. As luck would have, it: GATHER(delimiter,src_string) Says STOP right there, and keep monitoring "src_string". Do not pass GO, do not collect $200 UNTIL you see the specified "delimiter" appear in src_string. When you do, remove everything from the front of src_sting up to the first occurrence of delimiter, and put it in the variable I specify. Then go back to monitoring "src_string". The great thing about GATHER is that as soon as it evaluates src_string and doesn't find delimiter, it returns control to the processor. The OS lets GATHER know when (if ever) delimiter arrives, and tells it go resume business. The big trick is in your parsing code. You need to make sure you evaluate what GATHER returns to you as quickly as possible and let the code return to the GATHER. This is an exercise left to the reader, as how to parse everything depends entirely on the data you're expecting. In theory, the only way I know of for your BUFFER_INPUT to overrun is if lots of data comes in that never contains the delimiter, or if your processor is SO bogged down otherwise that the OS can't get your S+ code fired back up to run the parsing code. (Oddly enough, I have random instances of this happening at a job site right now. REALLY frustrating) That said, I'm not sure I'd use this approach for JSON data, considering how sucky it's structured. Maybe there's a good way of doing it - I just haven't considered it... - Chip --- In Crestron@..., "redquartznow" <redquartznq@...> wrote:
|
Re: OT - HDBaseT alternatives
I just wanted to confirm how the Leaf handles multi-channel audio sources if say you have a LED TV on out 1 and a surround receiver on out 2? Will it present a stereo drain to the source?
toggle quoted message
Show quoted text
tx --- In Crestron@..., "Miitch" <mitchell@...> wrote:
|
Re: OT: Autonomics MMS3 Pandora Randomly Stopping
We have not found a solution to this yet. Autonomic said that it might be
toggle quoted message
Show quoted text
timing out. On May 9, 2013 5:39 PM, "johnmaxman" <johnmaxx@...> wrote:
** |
to navigate to use esc to dismiss