¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

Re: Simpl+ Parameters

roomy4545
 

So how do you type it?

should it be "digital_input test1"_SKIP_
then parameters (that's how i'm doing it)

or should it be the parameters first then skip then the digital inputs?


or should the skip then digital parameters...?

Could you show an example


________________________________
From: maxpower68 <maxpower68@...>
To: Crestron@...
Sent: Saturday, January 24, 2009 12:01:39 AM
Subject: [Crestron] Re: Simpl+ Parameters


Yes se the "_SKIP_" this will drop the digital inputs below the
parameters. This is the only way to do this. It's back ass wards but
it works.

Max

--- In Crestron@yahoogroup s.com, roomy4545 <roomy4545@. ..> wrote:

Anyone know why with my simpl+ the digital inputs are on the same
line as parameters (when you look at the symbol in Simpl?). Is there
a way you are supposed to declare them so i can see the names of the
digital/serial input names and for the parameters to go at the bottom
of the symbol.
?
As it stands now, the paraters start at the top of the symbol and
go down. I tried using the "_SKIP_" to try to create space between my
input symbols and the parameters.
?
Any help would be appreciated




[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]


Re: Simpl+ Parameters

 

Yes se the "_SKIP_" this will drop the digital inputs below the
parameters. This is the only way to do this. It's back ass wards but
it works.

Max






--- In Crestron@..., roomy4545 <roomy4545@...> wrote:

Anyone know why with my simpl+ the digital inputs are on the same
line as parameters (when you look at the symbol in Simpl?). Is there
a way you are supposed to declare them so i can see the names of the
digital/serial input names and for the parameters to go at the bottom
of the symbol.
?
As it stands now, the paraters start at the top of the symbol and
go down. I tried using the "_SKIP_" to try to create space between my
input symbols and the parameters.
?
Any help would be appreciated






Re: Simpl+ Parameters

Christopher Schley
 

Yeah, the instructor had to skip the inputs to get them below the
parameters

On Jan 23, 2009, at 21:09, roomy4545 <roomy4545@...> wrote:

Anyone know why with my simpl+ the digital inputs are on the same
line as parameters (when you look at the symbol in Simpl?). Is there
a way you are supposed to declare them so i can see the names of the
digital/serial input names and for the parameters to go at the
bottom of the symbol.

As it stands now, the paraters start at the top of the symbol and go
down. I tried using the "_SKIP_" to try to create space between my
input symbols and the parameters.

Any help would be appreciated




Simpl+ Parameters

roomy4545
 

Anyone know why with my simpl+ the digital inputs are on the same line as parameters (when you look at the symbol in Simpl?). Is there a way you are supposed to declare them so i can see the names of the digital/serial input names and for the parameters to go at the bottom of the symbol.
?
As it stands now, the paraters start at the top of the symbol and go down. I tried using the "_SKIP_" to try to create space between my input symbols and the parameters.
?
Any help would be appreciated




[Non-text portions of this message have been removed]


Re: vtpro-e hang time

fellatedone
 

I do find that 6L's are slower than 8X, but not much and nowhere near
the drag that 2000's are.

I also found that my desktop takes longer to compile (quad core) than
my laptop (dual core).

-JOHN

--- In Crestron@..., "Nightcountry" <patrickbedford@...>
wrote:

--- In Crestron@..., Chris Erskine <chris@> wrote:

How much memory is in your PC and what is the usage of the memory
when you are compiling? Does it exceed the physical memory so that it
starts swapping?

Hey Chris
I have 6 gig of ddr3 memory but because I am using xp, the os only
sees 3.24 gig - vt uses 300,000 kb in memory usage when I working on
the program - am using the new I-7 intel processing ship as well -
the memory usage is so massive that I suspect it is the culprit but
my old pc using a P3 processor would use only 70-80000 kb of memory
when using vt.....

Chris


-----Original Message-----
From: Crestron@... [mailto:Crestron@...] On
Behalf Of Nightcountry
Sent: Friday, January 23, 2009 9:49 AM
To: Crestron@...
Subject: [Crestron] Re: vtpro-e hang time

--- In Crestron@..., "scates98" <ccates98@> wrote:

I experience this problems on some panels as well but I just have to
wait a minute or two and it always finishes. I've found that I
really
have to be careful not to use too many fonts in my projects as it
causes the compile time to slow down as wall as keeps the file size
too large for some panels. My recommendation to you is to eliminate
any unnecessary fonts and give it another go.

- Ccates
Thanks - the file size I am using with the tps6l is around 10 meg
however the panels capacity is 28 - when you say eliminate unnecessary
fonts do you mean the number of font styles or just text information?
Cheers



--- In Crestron@..., "Nightcountry" <patrickbedford@>
wrote:

Hi is anyone else having a problem when compiling a vtpro
program -
pc hangs at 50 percent when loading fonts and sometimes freezes
completely - another installer I know is having the same issues
.....
the program is taking 300,000 kb in memory - have an I-7 processor
with 6 gigs of ram
and am still having problems - with vt 3.8 and now with vt 3.9
thanks


------------------------------------



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


TPMC-4XG System Bar

Rick Ciaccio
 

I have one that's acting up...

The system bar shows up on every page until I uncheck the global box in
properties... then it disappears from all pages even though several pages have
it enabled and in visible mode with default join #.

Crestron support couldn't help.

Any ideas?

-R


Re: Question on finding the number of defined array elements.

Matt
 

...I'm not knocking anyone here; we all
have to start somewhere, but there do appear to be a lot of guys
programming systems with some pretty shaky foundations in procedural
languages, and even simple syntactic issues (like the root of this
thread) could wreak havoc scrambling your processor's brains. So I
suppose you could argue "Pointers don't kill processors, programmers
do" ;-)


Hey, I resemble that comment. ;)

But in all honesty, I think the majority of Crestron programmers
don't have procedural backgrounds, and don't really need to, it's not
a procedural language, some people might even say that it's not MEANT
to be programmed with S+.

A lot of the programmers here are the 'cream of the crop' and I for
one appreciate the help, but I also like to think I help as well.
Sure, not with pointers or 'dynamic memory assignment' or what-have-
you, and also make syntax errors that I ask about, but helping out
with a 'I can't figure out how the example checksum is calculated' is
good too...right? ;)


Re: Question on finding the number of defined array elements.

Joseph K. Vossen
 

that's how many implementations of strtok(3) work.

On Friday 23 January 2009 06:18 pm, you wrote:
Oh Duh... Sorry, I forgot the whole part about being able to point to
individual character positions in a "string".

Makes much more sense


Re: Question on finding the number of defined array elements.

 

Oh Duh... Sorry, I forgot the whole part about being able to point to individual character positions in a "string".

Makes much more sense

--
Lincoln King-Cliby, CTS
Applications Engineer
ControlWorks Consulting, LLC
V: 440.729.4640 x1107 F: 440.729.0884 I:
Crestron Authorized Independent Programmer

-----Original Message-----
From: Crestron@... [mailto:Crestron@...] On Behalf Of Chris Erskine
Sent: Friday, January 23, 2009 6:17 PM
To: Crestron@...
Subject: RE: RE: [Crestron] Re: Question on finding the number of defined array elements.

One of the things that I would do with pointers was for strings with delimiters, you would null out the delimiter and by using pointers, you could point to the start of the string without having to copy the data into new fields. There are a number of other uses that they can be used for but that was the one I was thinking about when Joseph talked about breaking up the XML files.



Chris


-----Original Message-----
From: Crestron@... [mailto:Crestron@...] On Behalf Of Lincoln King-Cliby
Sent: Friday, January 23, 2009 4:08 PM
To: 'Crestron@...'
Subject: RE: [Crestron] Re: Question on finding the number of defined array elements.

Isn't' that why you pass strings by reference unless you have a good reason for passing them by value (or you're dealing with one of the S+ quirks that won't allow a passing byref, like IIRC, a serial input)?

Or would pointers open up another advantageous option that I'm forgetting at the moment (it's been far too long since the last time I played with a language the formally supported pointers :(... but they are uber cool. Took me most of my first semester of AP CompSci in high school to figure the point out, but after that... wow!)

Lincoln

--
Lincoln King-Cliby, CTS
Applications Engineer
ControlWorks Consulting, LLC
V: 440.729.4640 x1107 F: 440.729.0884 I:
Crestron Authorized Independent Programmer


-----Original Message-----
From: Crestron@... [mailto:Crestron@...] On Behalf Of Chris Erskine
Sent: Friday, January 23, 2009 11:12 AM
To: Crestron@...
Subject: RE: [Crestron] Re: Question on finding the number of defined array elements.

I agree that not only would your code be more compact but more efficient since you would not have to be copying data around all over. On the other hand, pointers would cause so much more problems in the code that systems would be crashing all over. Crestron would require better TB personnel and better tools since you would need a debugger that would let you step through the S+ code when it was running.



Chris

-----Original Message-----
From: Crestron@... [mailto:Crestron@...] On Behalf Of Joseph K. Vossen
Sent: Friday, January 23, 2009 9:06 AM
To: Crestron@...
Subject: Re: [Crestron] Re: Question on finding the number of defined array elements.

agreed...in my non-Crestron circle of travels in the past, I have found that a *good* understanding of pointers separates the good programmers from the great ones. And then when you jump into function pointers, that opens up a whole new world of fun.....





having pointers in SIMPL+ would benefit, for example, those tasks that perform a *lot* of parsing, such as busting up XML pages. Sure one can do it now with what is available, I just think the code would be a bit more compact, IMHO

-----Original Message-----
From: fooguy89 <fooguy89@...>
Sent: Jan 23, 2009 10:53 AM
To: Crestron@...
Subject: [Crestron] Re: Question on finding the number of defined array elements.

I'm pretty sure the reason Crestron doesn't do Pointers is because of
support. They tend to perform a lot of support that doesn't seem to
be "their problem" - issues that are clearly programming mistakes, but
they do try to help resolve them (I know people knock TB for a lot,
but I mean they do try to be helpful if you get the right folks).

Can you just imagine the chaos of newbies trying to use pointers,
overwriting memory, blah blah blah, and Crestron trying to suck it up
and fix it/teach them?

As a professional programmer, sure, it would be great to have, but I
can definitely see why many things are limited.

Sometimes I don't understand the need to try to fix and assist with
blatant programming problems (If you were to call microsoft and whine
about how your system crashed because you did a NULL pointer access or
overwrite the bounds of your array, they'd probably just be like
"Uh....GO FIND AND FIX IT YOURSELF!!")


--- In Crestron@..., Joseph K. Vossen <jkv@...> wrote:

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
end of an IF statement.

True, but I always put them in so that if I do add another line I
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


------------------------------------



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




------------------------------------



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




------------------------------------



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




------------------------------------



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: Question on finding the number of defined array elements.

Chris Erskine
 

One of the things that I would do with pointers was for strings with delimiters, you would null out the delimiter and by using pointers, you could point to the start of the string without having to copy the data into new fields. There are a number of other uses that they can be used for but that was the one I was thinking about when Joseph talked about breaking up the XML files.



Chris

-----Original Message-----
From: Crestron@... [mailto:Crestron@...] On Behalf Of Lincoln King-Cliby
Sent: Friday, January 23, 2009 4:08 PM
To: 'Crestron@...'
Subject: RE: [Crestron] Re: Question on finding the number of defined array elements.

Isn't' that why you pass strings by reference unless you have a good reason for passing them by value (or you're dealing with one of the S+ quirks that won't allow a passing byref, like IIRC, a serial input)?

Or would pointers open up another advantageous option that I'm forgetting at the moment (it's been far too long since the last time I played with a language the formally supported pointers :(... but they are uber cool. Took me most of my first semester of AP CompSci in high school to figure the point out, but after that... wow!)

Lincoln

--
Lincoln King-Cliby, CTS
Applications Engineer
ControlWorks Consulting, LLC
V: 440.729.4640 x1107 F: 440.729.0884 I:
Crestron Authorized Independent Programmer


-----Original Message-----
From: Crestron@... [mailto:Crestron@...] On Behalf Of Chris Erskine
Sent: Friday, January 23, 2009 11:12 AM
To: Crestron@...
Subject: RE: [Crestron] Re: Question on finding the number of defined array elements.

I agree that not only would your code be more compact but more efficient since you would not have to be copying data around all over. On the other hand, pointers would cause so much more problems in the code that systems would be crashing all over. Crestron would require better TB personnel and better tools since you would need a debugger that would let you step through the S+ code when it was running.



Chris

-----Original Message-----
From: Crestron@... [mailto:Crestron@...] On Behalf Of Joseph K. Vossen
Sent: Friday, January 23, 2009 9:06 AM
To: Crestron@...
Subject: Re: [Crestron] Re: Question on finding the number of defined array elements.

agreed...in my non-Crestron circle of travels in the past, I have found that a *good* understanding of pointers separates the good programmers from the great ones. And then when you jump into function pointers, that opens up a whole new world of fun.....




having pointers in SIMPL+ would benefit, for example, those tasks that perform a *lot* of parsing, such as busting up XML pages. Sure one can do it now with what is available, I just think the code would be a bit more compact, IMHO

-----Original Message-----
From: fooguy89 <fooguy89@...>
Sent: Jan 23, 2009 10:53 AM
To: Crestron@...
Subject: [Crestron] Re: Question on finding the number of defined array elements.

I'm pretty sure the reason Crestron doesn't do Pointers is because of
support. They tend to perform a lot of support that doesn't seem to
be "their problem" - issues that are clearly programming mistakes, but
they do try to help resolve them (I know people knock TB for a lot,
but I mean they do try to be helpful if you get the right folks).

Can you just imagine the chaos of newbies trying to use pointers,
overwriting memory, blah blah blah, and Crestron trying to suck it up
and fix it/teach them?

As a professional programmer, sure, it would be great to have, but I
can definitely see why many things are limited.

Sometimes I don't understand the need to try to fix and assist with
blatant programming problems (If you were to call microsoft and whine
about how your system crashed because you did a NULL pointer access or
overwrite the bounds of your array, they'd probably just be like
"Uh....GO FIND AND FIX IT YOURSELF!!")


--- In Crestron@..., Joseph K. Vossen <jkv@...> wrote:

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
end of an IF statement.

True, but I always put them in so that if I do add another line I
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


------------------------------------



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




------------------------------------



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




------------------------------------



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: Question on finding the number of defined array elements.

 

Isn't' that why you pass strings by reference unless you have a good reason for passing them by value (or you're dealing with one of the S+ quirks that won't allow a passing byref, like IIRC, a serial input)?

Or would pointers open up another advantageous option that I'm forgetting at the moment (it's been far too long since the last time I played with a language the formally supported pointers :(... but they are uber cool. Took me most of my first semester of AP CompSci in high school to figure the point out, but after that... wow!)

Lincoln

--
Lincoln King-Cliby, CTS
Applications Engineer
ControlWorks Consulting, LLC
V: 440.729.4640 x1107 F: 440.729.0884 I:
Crestron Authorized Independent Programmer

-----Original Message-----
From: Crestron@... [mailto:Crestron@...] On Behalf Of Chris Erskine
Sent: Friday, January 23, 2009 11:12 AM
To: Crestron@...
Subject: RE: [Crestron] Re: Question on finding the number of defined array elements.

I agree that not only would your code be more compact but more efficient since you would not have to be copying data around all over. On the other hand, pointers would cause so much more problems in the code that systems would be crashing all over. Crestron would require better TB personnel and better tools since you would need a debugger that would let you step through the S+ code when it was running.



Chris

-----Original Message-----
From: Crestron@... [mailto:Crestron@...] On Behalf Of Joseph K. Vossen
Sent: Friday, January 23, 2009 9:06 AM
To: Crestron@...
Subject: Re: [Crestron] Re: Question on finding the number of defined array elements.

agreed...in my non-Crestron circle of travels in the past, I have found that a *good* understanding of pointers separates the good programmers from the great ones. And then when you jump into function pointers, that opens up a whole new world of fun.....



having pointers in SIMPL+ would benefit, for example, those tasks that perform a *lot* of parsing, such as busting up XML pages. Sure one can do it now with what is available, I just think the code would be a bit more compact, IMHO

-----Original Message-----
From: fooguy89 <fooguy89@...>
Sent: Jan 23, 2009 10:53 AM
To: Crestron@...
Subject: [Crestron] Re: Question on finding the number of defined array elements.

I'm pretty sure the reason Crestron doesn't do Pointers is because of
support. They tend to perform a lot of support that doesn't seem to
be "their problem" - issues that are clearly programming mistakes, but
they do try to help resolve them (I know people knock TB for a lot,
but I mean they do try to be helpful if you get the right folks).

Can you just imagine the chaos of newbies trying to use pointers,
overwriting memory, blah blah blah, and Crestron trying to suck it up
and fix it/teach them?

As a professional programmer, sure, it would be great to have, but I
can definitely see why many things are limited.

Sometimes I don't understand the need to try to fix and assist with
blatant programming problems (If you were to call microsoft and whine
about how your system crashed because you did a NULL pointer access or
overwrite the bounds of your array, they'd probably just be like
"Uh....GO FIND AND FIX IT YOURSELF!!")


--- In Crestron@..., Joseph K. Vossen <jkv@...> wrote:

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
end of an IF statement.

True, but I always put them in so that if I do add another line I
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


------------------------------------



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




------------------------------------



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: Question on finding the number of defined array elements.

 

That that is almost exactly what came out of conversation I had with someone fairly high up in the software world of things an Infocomm or two ago, and also the difficulty of protecting the relative "sandbox" that SIMPL+ plays in.

Lincoln

--
Lincoln King-Cliby, CTS
Applications Engineer
ControlWorks Consulting, LLC
V: 440.729.4640 x1107 F: 440.729.0884 I:
Crestron Authorized Independent Programmer

-----Original Message-----
From: Crestron@... [mailto:Crestron@...] On Behalf Of fooguy89
Sent: Friday, January 23, 2009 10:53 AM
To: Crestron@...
Subject: [Crestron] Re: Question on finding the number of defined array elements.

I'm pretty sure the reason Crestron doesn't do Pointers is because of
support. They tend to perform a lot of support that doesn't seem to
be "their problem" - issues that are clearly programming mistakes, but
they do try to help resolve them (I know people knock TB for a lot,
but I mean they do try to be helpful if you get the right folks).

Can you just imagine the chaos of newbies trying to use pointers,
overwriting memory, blah blah blah, and Crestron trying to suck it up
and fix it/teach them?

As a professional programmer, sure, it would be great to have, but I
can definitely see why many things are limited.

Sometimes I don't understand the need to try to fix and assist with
blatant programming problems (If you were to call microsoft and whine
about how your system crashed because you did a NULL pointer access or
overwrite the bounds of your array, they'd probably just be like
"Uh....GO FIND AND FIX IT YOURSELF!!")





--- In Crestron@..., Joseph K. Vossen <jkv@...> wrote:

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
end of an IF statement.

True, but I always put them in so that if I do add another line I
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
[snip]


------------------------------------



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: A wireless router for every rack...?

Jeremy Weatherford
 

Good luck convincing your local IT Mafia^WDepartment of this.

Jeremy

On Fri, Jan 23, 2009 at 3:31 PM, Matt <mjrtoo@...> wrote:
I agree, there's a lot of talk about 'poorly configured' and 'rouge
routers'. IMHO that shouldn't even be part of the discussion,
because if we put them in, they should be properly configured AND not
rouge.


Re: A wireless router for every rack...?

Matt
 

It's sad...very, very sad when you read on a pizza box 'remove
plastic from pizza before cooking'.



In a country where you can sue because the chainsaw did not have a
prominently displayed warning "Do not try to stop the moving chain
with your
bare hands" anything is possible. And, in California it could be
considered
likely.


_____

From: Crestron@... [mailto:Crestron@...] On
Behalf
Of fooguy89
Sent: Friday, January 23, 2009 1:17 PM
To: Crestron@...
Subject: [Crestron] Re: A wireless router for every rack...?



Is that really true - if you have a legal signoff they can still
hold
you responsible? Then what's the point of a signoff, in general?

(Note that I think having a WAP installed by default is a bad idea
as
much as the rest of the people here.)

--- In Crestron@yahoogroup <mailto:Crestron%40yahoogroups.com>
s.com, Jason
Dravet <jason.dravet@> wrote:
Even if in the equipment specs you say you are installing a AP and
the customer signs off you might be responsible as the customer
really
doesn't know what he is signing for and the AP has no legitimate
function.









Re: A wireless router for every rack...?

Matt
 

I agree, there's a lot of talk about 'poorly configured' and 'rouge
routers'. IMHO that shouldn't even be part of the discussion,
because if we put them in, they should be properly configured AND not
rouge.



You know, I can see some bored CS or EE students screwing with a
classroom
system just for kicks, that is how we learn ;) But, in the real
world who
has the time and resources, inclination and product knowledge to do
this
sort of hacking on a system where there is not the slightest profit
in doing
so. Why not spend their time trying to hack into Obama's
Crackberry if they
want some fun? WRT to drapes and other motorized devices, your
program or
your hardware should make such jammage impossible, because it is
much more
likely that a user (most are dangerous) will damage something. I
know, you
were just trying to provide an illustrative example. I guess if I
was
worried about it I would be more concerned about someone
initializing the
processor and wiping out the program. But, unless you are familiar
with
control systems it would take quite a bit of fishing to figure out
how to do
it. My old linksys with talisman firmware never forgets who it is,
and I
can turn down the transmit power so the signal is unavailable at
the street.

If you think through the application and select the proper
component and
settings, as with any portion of the system, it will most likely do
what you
intended without causing trouble. After all, knowing how to do all
that is
why we get the big bucks.

JM$.02

Kol


_____

From: Crestron@... [mailto:Crestron@...] On
Behalf
Of Jason Dravet
Sent: Friday, January 23, 2009 12:34 PM
To: Crestron@...
Subject: Re: [Crestron] A wireless router for every rack...?



--- On Wed, 1/21/09, uscurtin <jcurtin@usc. <mailto:jcurtin%
40usc.edu> edu>
wrote:
The setup:
So my boss has recently decided that a wireless router
should be put
in place into every rack we install from now on (or build,
if multiple
racks exist in a single build) so that a tech can hook up
to the rack
wirelessly whenever they need to service the rack. This
mandate
extends for all racks, regardless of whether or not
wireless products
exist in the build (since the router is primarily for
service).

I have more than several reservations against this notion,
but rather
than share them immediately, I was wondering what the rest
of you
thought of this concept. I'm interested in all sides
of the argument,
so please post whatever thoughts you have on this idea.

-Justin
Personally I don't like wireless. Most are not secure (and I am not
just
talking about WEP/WPA. A friend just purchased a Wireless AP and
installed
it. The router was a NetGear wpn842 I think. It worked great after I
installed it. When I install equipment I always check for updated
firmware.
It is a good thing to as router would lose its settings after a
power
failure without this update. Two weeks later his house lost power
and all of
the settings were erased. That router was returned and another
purchased
from a different vendor. But this illustrates APs have to be
maintained
whereas popular belief is set it up and forgot about it.

For installs I do for business I usually spec Cisco as people know
Cisco.
But having extra functions just because is not a good thing. Even
if the AP
is strictly for Crestron and not connected to the home or internet
it is a
way in. If someone were to hack into the network via a AP that the
customer
didn't spec or know about who knows what trouble the hacker could
get into.
You might be responsible for any damage that occurred. Say the
hacker
figures out how to open and close the curtains. Depending on the
motor he
could overheat it (open/close repeatedly, or figure out how to jam
up the
motor) and cause a fire. Even if in the equipment specs you say you
are
installing a AP and the customer signs off you might be responsible
as the
customer really doesn't know what he is signing for and the AP has
no
legitimate function.

Of course always check with a lawyer.
Jason







[Non-text portions of this message have been removed]


Re: A wireless router for every rack...?

 

In a country where you can sue because the chainsaw did not have a
prominently displayed warning "Do not try to stop the moving chain with your
bare hands" anything is possible. And, in California it could be considered
likely.


_____

From: Crestron@... [mailto:Crestron@...] On Behalf
Of fooguy89
Sent: Friday, January 23, 2009 1:17 PM
To: Crestron@...
Subject: [Crestron] Re: A wireless router for every rack...?



Is that really true - if you have a legal signoff they can still hold
you responsible? Then what's the point of a signoff, in general?

(Note that I think having a WAP installed by default is a bad idea as
much as the rest of the people here.)

--- In Crestron@yahoogroup <mailto:Crestron%40yahoogroups.com> s.com, Jason
Dravet <jason.dravet@...> wrote:
Even if in the equipment specs you say you are installing a AP and
the customer signs off you might be responsible as the customer really
doesn't know what he is signing for and the AP has no legitimate
function.


Re: A wireless router for every rack...?

 

You know, I can see some bored CS or EE students screwing with a classroom
system just for kicks, that is how we learn ;) But, in the real world who
has the time and resources, inclination and product knowledge to do this
sort of hacking on a system where there is not the slightest profit in doing
so. Why not spend their time trying to hack into Obama's Crackberry if they
want some fun? WRT to drapes and other motorized devices, your program or
your hardware should make such jammage impossible, because it is much more
likely that a user (most are dangerous) will damage something. I know, you
were just trying to provide an illustrative example. I guess if I was
worried about it I would be more concerned about someone initializing the
processor and wiping out the program. But, unless you are familiar with
control systems it would take quite a bit of fishing to figure out how to do
it. My old linksys with talisman firmware never forgets who it is, and I
can turn down the transmit power so the signal is unavailable at the street.

If you think through the application and select the proper component and
settings, as with any portion of the system, it will most likely do what you
intended without causing trouble. After all, knowing how to do all that is
why we get the big bucks.

JM$.02

Kol


_____

From: Crestron@... [mailto:Crestron@...] On Behalf
Of Jason Dravet
Sent: Friday, January 23, 2009 12:34 PM
To: Crestron@...
Subject: Re: [Crestron] A wireless router for every rack...?



--- On Wed, 1/21/09, uscurtin <jcurtin@usc. <mailto:jcurtin%40usc.edu> edu>
wrote:
The setup:
So my boss has recently decided that a wireless router
should be put
in place into every rack we install from now on (or build,
if multiple
racks exist in a single build) so that a tech can hook up
to the rack
wirelessly whenever they need to service the rack. This
mandate
extends for all racks, regardless of whether or not
wireless products
exist in the build (since the router is primarily for
service).

I have more than several reservations against this notion,
but rather
than share them immediately, I was wondering what the rest
of you
thought of this concept. I'm interested in all sides
of the argument,
so please post whatever thoughts you have on this idea.

-Justin
Personally I don't like wireless. Most are not secure (and I am not just
talking about WEP/WPA. A friend just purchased a Wireless AP and installed
it. The router was a NetGear wpn842 I think. It worked great after I
installed it. When I install equipment I always check for updated firmware.
It is a good thing to as router would lose its settings after a power
failure without this update. Two weeks later his house lost power and all of
the settings were erased. That router was returned and another purchased
from a different vendor. But this illustrates APs have to be maintained
whereas popular belief is set it up and forgot about it.

For installs I do for business I usually spec Cisco as people know Cisco.
But having extra functions just because is not a good thing. Even if the AP
is strictly for Crestron and not connected to the home or internet it is a
way in. If someone were to hack into the network via a AP that the customer
didn't spec or know about who knows what trouble the hacker could get into.
You might be responsible for any damage that occurred. Say the hacker
figures out how to open and close the curtains. Depending on the motor he
could overheat it (open/close repeatedly, or figure out how to jam up the
motor) and cause a fire. Even if in the equipment specs you say you are
installing a AP and the customer signs off you might be responsible as the
customer really doesn't know what he is signing for and the AP has no
legitimate function.

Of course always check with a lawyer.
Jason


Re: A wireless router for every rack...?

 

Is that really true - if you have a legal signoff they can still hold
you responsible? Then what's the point of a signoff, in general?

(Note that I think having a WAP installed by default is a bad idea as
much as the rest of the people here.)

--- In Crestron@..., Jason Dravet <jason.dravet@...> wrote:
Even if in the equipment specs you say you are installing a AP and
the customer signs off you might be responsible as the customer really
doesn't know what he is signing for and the AP has no legitimate
function.


Re: A wireless router for every rack...?

Jason Dravet
 

--- On Wed, 1/21/09, uscurtin <jcurtin@...> wrote:
The setup:
So my boss has recently decided that a wireless router
should be put
in place into every rack we install from now on (or build,
if multiple
racks exist in a single build) so that a tech can hook up
to the rack
wirelessly whenever they need to service the rack. This
mandate
extends for all racks, regardless of whether or not
wireless products
exist in the build (since the router is primarily for
service).

I have more than several reservations against this notion,
but rather
than share them immediately, I was wondering what the rest
of you
thought of this concept. I'm interested in all sides
of the argument,
so please post whatever thoughts you have on this idea.

-Justin
Personally I don't like wireless. Most are not secure (and I am not just talking about WEP/WPA. A friend just purchased a Wireless AP and installed it. The router was a NetGear wpn842 I think. It worked great after I installed it. When I install equipment I always check for updated firmware. It is a good thing to as router would lose its settings after a power failure without this update. Two weeks later his house lost power and all of the settings were erased. That router was returned and another purchased from a different vendor. But this illustrates APs have to be maintained whereas popular belief is set it up and forgot about it.

For installs I do for business I usually spec Cisco as people know Cisco. But having extra functions just because is not a good thing. Even if the AP is strictly for Crestron and not connected to the home or internet it is a way in. If someone were to hack into the network via a AP that the customer didn't spec or know about who knows what trouble the hacker could get into. You might be responsible for any damage that occurred. Say the hacker figures out how to open and close the curtains. Depending on the motor he could overheat it (open/close repeatedly, or figure out how to jam up the motor) and cause a fire. Even if in the equipment specs you say you are installing a AP and the customer signs off you might be responsible as the customer really doesn't know what he is signing for and the AP has no legitimate function.

Of course always check with a lawyer.
Jason


Re: Question on finding the number of defined array elements.

 

Well, even if you pass your array ByRef, *every* time you access an
array element, bounds checking is done. I think that speed hit,
whatever it amounts to being in their implementation, outweighs
finding an array overrun. As all of us who have programmed in C know,
just because you overrun the array "now" doesn't mean you find the
error now. You could run into the after effect minutes, days, or
years from the time it happened!

--- In Crestron@..., "Oliver Hall" <oliver.hall@...> wrote:

I agree, that in the right hands, pointers are extremely powerful,
but I feel Crestron have chosen wisely here.

As foo's already said, the potential for misuse of pointers would
open us up to a world of pain. I'm not knocking anyone here; we all
have to start somewhere, but there do appear to be a lot of guys
programming systems with some pretty shaky foundations in procedural
languages, and even simple syntactic issues (like the root of this
thread) could wreak havoc scrambling your processor's brains. So I
suppose you could argue "Pointers don't kill processors, programmers
do" ;-) Anyway - anyone who's had to debug bad pointer arithmetic
knows what a time-consuming process it can be, and that's on your own
code - it's 100x harder when it's someone else's.

The efficiency argument can be mitigated too - you can always use
ByRef in your function declarations (in fact, you can't avoid it with
STRING). I've written an XML parser that doesn't move the XML
document at all (though it does mean creating a lot of markers...
which I guess are just my version of (safe?) pointers).

This is where foo pipes up to say that Crestron's implementation of
ByRef does actually make a copy the data 8)

Now... if they'd just implement multiple-inheritance in S+ (*JOKING!*)

Ol

--- In Crestron@..., "Joseph K. Vossen" <jkv@> wrote:

agreed...in my non-Crestron circle of travels in the past, I have
found that a *good* understanding of pointers separates the good
programmers from the great ones. And then when you jump into
function pointers, that opens up a whole new world of fun.....

having pointers in SIMPL+ would benefit, for example, those tasks
that perform a *lot* of parsing, such as busting up XML pages. Sure
one can do it now with what is available, I just think the code would
be a bit more compact, IMHO

-----Original Message-----
From: fooguy89 <fooguy89@>
Sent: Jan 23, 2009 10:53 AM
To: Crestron@...
Subject: [Crestron] Re: Question on finding the number of defined
array elements.

I'm pretty sure the reason Crestron doesn't do Pointers is because
of
support. They tend to perform a lot of support that doesn't seem
to
be "their problem" - issues that are clearly programming mistakes,
but
they do try to help resolve them (I know people knock TB for a lot,
but I mean they do try to be helpful if you get the right folks).

Can you just imagine the chaos of newbies trying to use pointers,
overwriting memory, blah blah blah, and Crestron trying to suck it
up
and fix it/teach them?

As a professional programmer, sure, it would be great to have, but
I
can definitely see why many things are limited.

Sometimes I don't understand the need to try to fix and assist with
blatant programming problems (If you were to call microsoft and
whine
about how your system crashed because you did a NULL pointer
access or
overwrite the bounds of your array, they'd probably just be like
"Uh....GO FIND AND FIX IT YOURSELF!!")


--- In Crestron@..., Joseph K. Vossen <jkv@> wrote:

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
end of an IF statement.

True, but I always put them in so that if I do add another
line I
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