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
Re: iServer and MLX2
Well both of them are in the beta of SIMPL at this point so that is always a
toggle quoted message
Show quoted text
good sign of things to come. I'd say it is likely they could ship any day based on previous trends of when things show up in the beta folder. Mark On Fri, Jan 23, 2009 at 9:11 AM, galcala1031 <galcala@...> wrote:
Anyone know the status of these products? Has anyone used these |
Re: vtpro-e hang time
--- In Crestron@..., "Nightcountry" <patrickbedford@...>
wrote: program - issues .....pc hangs at 50 percent when loading fonts and sometimes freezes the program is taking 300,000 kb in memory - have an I-7 processor I was having MASSIVE compile time problems with both VTPro-e and SIMPL Windows for some time now - ever since I got my new computer this past fall (a dual core T9300 laptop, 2GB RAM, XP Pro SP3, etc.). Just yesterday I figured out what the problem was (after trying a bunch of things with TB). When I got the new PC, my files were moved from my C: drive to My Documents folder. The difference? My Documents (here at the college, anyway) is configured by our IT department as a network drive, not a local drive. It works great for keeping things automatically backed up and accessible everywhere, but it turns out that SIMPL and VTPro-e do NOT like to compile off of the network. At all. Interesting notes: when compiling from the network drive, it would take upwards of 30 minutes to compile a SIMPL program with the MPS- 100 module in it. As soon as I copied it to the C drive, it took 14 seconds! Same with VTPro-e: I had a TPMC-15-QM panel that took 20 minutes to compile. Copied to C drive... compiles in less than 10 seconds! Lesson for me: keep files on the C drive, back them up regularly via some other method, and compile problems go away. I really hope this helps solve your problems, I was extremely frustrated with compile times for several months... so I know how you feel. Craig Underwood Media Services Manager Moravian College Bethlehem, PA |
Sierra router control
Can anyone point me to (or send me) a simple program were controlling a
Sierra router is involved? I have a SierraPro XL1204 that doesn't react on the commands I try to send it. I have probably missed something but were? The protocol is on "host protocol" on the router and the bits and flow control is set the same on both the com and the Sierra. I'm using the Sierra Router macro included with Crestron Simpl Windows. Any help out there? Thanks OL |
Re: vtpro-e hang time
--- In Crestron@..., "Nightcountry" <patrickbedford@...> wrote:
I too am experiencing the hang at about 50% as it tries to do something with the fonts. It always finishes eventually, however. - Jeff |
Re: Does anyone have code or documentation for a Samsung CK40BSNB plasma?
Oddly enough, I've just been sent another spec from Samsung. It
gives PC1 and PC2 as \x15 and \x16 respectively. So that would make: PC1: \xAA\x14\xFE\x01\x15\x28 PC2: \xAA\x14\xFE\x01\x16\x29 --- In Crestron@..., "Oliver Hall" <oliver.hall@...> wrote: second to last byte. The final byte is a checksum and is simply the lowerwrote: display". wrote: ( Theifmenu.IDis set to -- and I can't figure out how to change it in thewrote:Thecustomer has, of course, also lost the remote control. these:theymatch what I have. If they are MDC then you could try wrote: |
Re: Question on finding the number of defined array elements.
Joseph K. Vossen
the semi-colon after the if() is a valid statement from the parser's point of
view; it just doesn't do what you want/expect here is a simple example of how that is useful; the following 'C' code copies a NULL-terminated string, where 'p' points to the destination and 'q' points to the source:. The while() terminates when the NULL terminating byte is hit. while (*p++ = *q++) ; // <- note lone semi-colon ya' just gotta love pointers...sure wish SIMPL+ had 'em....... On Friday 23 January 2009 12:33 am, you wrote: I would have expected to see a compiler error on the fatal ; at the[snip] |
Re: Question on finding the number of defined array elements.
Not fatal in that way, just fatal in term of doing what you want. And,
toggle quoted message
Show quoted text
I blame it on being very hot here today (must be 40¡ãC in my office at the moment) for my forgetting that the BREAK would exit on the first loop. Chips on to it today. Lindsay --- In Crestron@..., "Matt" <mjrtoo@...> wrote:
|
Re: Question on finding the number of defined array elements.
Matt
I would have expected to see a compiler error on the fatal ; at the
end of an IF statement. fatal, but a trace should have shown 10 outputs rather than just 1.)were file.to remove the trace statement, could you use no brackets? If the to assigneddetermine the number of elements a string array has been IinSimpl. Looking at S+ I see the directive isSignalDefined(). buthavethe following code (not complete). incorrect?NumSources always = 10, I was expecting to see 1. |
Re: Question on finding the number of defined array elements.
Chip Moody
The Break; provided a nice exit and good reason why there was only 1
toggle quoted message
Show quoted text
output... :) And I'm on the other side of the fence with the single-statement IF. If I'm 90% certain I'll never need to add more than one line I'll quite happily do: IF (x=1) DoSomething(); - Chip --- In Crestron@..., "Lindsay" <lindsayc@...> wrote:
|
Re: Question on finding the number of defined array elements.
True, but I always put them in so that if I do add another line I
toggle quoted message
Show quoted text
don't mess up the execution order/nesting. (Didn't see the ; - fatal, but a trace should have shown 10 outputs rather than just 1.) Lindsay --- In Crestron@..., "Matt" <mjrtoo@...> wrote:
|
Re: Question on finding the number of defined array elements.
Matt
Thanks Lindsay and Chip, it's always puntuation isn't it. If I were
to remove the trace statement, could you use no brackets? If the brackets are required, I guess there's another error in the help file. in haveSimpl. Looking at S+ I see the directive isSignalDefined(). I incorrect?the following code (not complete). |
Sony BDP5000 RS232
Anyone else working on this or got this working? I believe I have the
checksum calculation working correctly, and am getting the expected \xFD ACK response to all my commands, but the player resolutely doesn't do anything at all. If I send the command to get the version number, I don't get what the protocol doc says, I just get the ACK command. Disappointing.... OP |
Re: Question on finding the number of defined array elements.
Chip Moody
And nuke the semicolon at the end of the IF statement line - I think
toggle quoted message
Show quoted text
what you had is equivalent to "if this condition is met, do absolutely squat". :) Function Main() { FOR(i = 10 to 1 Step -1) { IF(IsSignalDefined(in$[i])) { TRACE("i = %d", i); BREAK; } } } --- In Crestron@..., "Lindsay" <lindsayc@...> wrote:
|
Re: Still no way to have two arrays of the same type....
Chip Moody
I/O arrays in S+, right? Yeah - that's been my experience... Since
toggle quoted message
Show quoted text
I've been wrapping S+ modules in SIMPL module wrappers pretty consistently of late, I just define the last array with the [x,x] format anyway to force the expansion of ALL the input/outputs anyway. - Chip --- In Crestron@..., "Matt" <mjrtoo@...> wrote:
|
Re: Question on finding the number of defined array elements.
Hi Matt,
toggle quoted message
Show quoted text
You need to put the statements after the IF in {}. Lindsay --- In Crestron@..., "Matt" <mjrtoo@...> wrote:
|
Question on finding the number of defined array elements.
Matt
I'm messing around with an upcoming project, and am looking to
determine the number of elements a string array has been assigned in Simpl. Looking at S+ I see the directive isSignalDefined(). I have the following code (not complete). STRING_INPUT in$[10][25]; Function Main() { FOR(i = 10 to 1 Step -1) { IF(IsSignalDefined(in$[i])); TRACE("i = %d", i); BREAK; } } Within Simpl, I have only two strings expanded on the symbol, but NumSources always = 10, I was expecting to see 1. Is this the correct approach and/or any advice on what's incorrect? |
Re: vtpro-e hang time
Nightcountry
--- In Crestron@..., "Nightcountry" <patrickbedford@...>
wrote:
Thats odd because the program that is causing the most problems is one for a TPS6L - |
to navigate to use esc to dismiss