Definitely sounds like there are way more of those modules than needed. 170 modules sounds like it could definitely benefit from some type of update..
On the other hand, we've got some complicated logic and 2 minutes is on the shorter side for me.
toggle quoted message
Show quoted text
--- In Crestron@..., Heath Volmer <hvolmer@...> wrote:
Sorry I'm not specifically addressing your question but it sounds like you
could benefit from crosspoints here. That seems like a huge program for 29
zones, but of course I can't know that. I've never experienced compile
times more than 2 minutes. I'll bet you have way more logic / signals than
you really need to accomplish what you're doing.
On Mon, Sep 17, 2012 at 11:20 AM, Jason Andersen
<jandersen@...>wrote:
**
User Module or Simpl Symbols as it relates to Program Size, Compile Time,
and Resources Used.
I'm looking for some specifics here because I haven't figured out the best
approach yet.
I have a module that I use to manage an AV zone. A while ago I thought it
would be better organization to wrap it up in a User Module. After some
time that module has grown in size and so has my compile times. As an
experiment I took out the code in the module and placed it back in my
program.
This program has 29 AV rooms and 6 interfaces, so there are 174 instances
of this module.
When I made this change I noticed a few things.
Program Size Increased
So a file that was 4 MBs grew to just over 10 MBs and the only thing I
changed was removing the module and placing the code that was in the module
in the Simpl program.
Compile Time Decreased
For the 4 MB Simpl program that was using the User Modules the compile
time was around 15 minutes.
For the 10 MB Simpl program that was not using modules but was using only
Simpl logic symbols the compile time was only 2 minutes.
Resources Used Stayed The Same
CPU load and RAM used didn't seem to move.
What factors affect this? Do other symbols increase or decrease any of
these changes? I'm using quite a few digital and analog buffers although
for the most part they only have a few signals in each one. Do buffers with
more inputs and outputs increase this? Or is it the number of buffers?
Any help would be great. Trying to figure out how to manage my programs as
they get more complicated.
Jason Andersen
[Non-text portions of this message have been removed]