¿ªÔÆÌåÓý

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

Re: Comparing Time


danrobinanna
 

--- In Crestron@..., "digitalstudiowerks"
<digitalstudiowerks@...> wrote:

Hi,
I am trying to get a idea on how others maybe programing time
comparisons without using
SIMPL+.
Why the hesitation to use SIMPL+ unless you a) are planning on
running it on an ST-CP or something or b) don't know SIMPL+. A 60
second (or longer) period to waking up a task isn't going to hurt
anything. I'd even wager that it is more efficient (less processor
time) to do the whole thing in SMIPL+ than it is to generate a time
in SIMPL+ and cobble together a bunch of SIMPL.

Way back in my Wang Labs days, the Performance Analysis group used to
laugh at the Operating Systems group for "optimizing the leap year
interupt." Makes me smile whenever I remember that gem.

For my own system, I do faily complicated computations to decide when
to lower and raise shades, based upon the sun, time of day, day of
week (they're noisy and I want to sleep in a bit on weekends) and
month (the reason for lowering them in winter is the opposite of the
reason for summer). I bet I could run it every 5 seconds and not
notice performance problems.

Join [email protected] to automatically receive all group messages.