Crestron SIMPL Windows User Manual page 51

Crestron simpl windows software: user guide
Hide thumbs Also See for SIMPL Windows:
Table of Contents

Advertisement

Crestron SIMPL Windows
Multiple OR symbols for discrete control
Touchpanel
fb115
press115
fb116
press116
fb117
press117
fb118
press118
fb119
press119
fb120
press120
fb121
press121
fb122
press122
fb123
press123
fb124
press124
fb125
press125
Primer – DOC. 6253
However there are some drawbacks to this method. First, programs written in this
matter can be difficult to read, in that you must trace the signal completely to
determine what events it triggers. This is made easier by the 'Show Routings'
command in SIMPL Windows. The second drawback is more serious: what if you
wanted to provide individual control of the screen, the projector power, and the
lighting presets? With the example shown above, these three functions are tied
together and can never be controlled independently. Even if you think that this type
of control is not needed, it may be needed in the future, requiring you to make
significant changes to your program.
To avoid this limitation, we can add logic to the program. An intuitive solution uses
OR symbols to gather all the events used to trigger a single event. For example, if we
want to lower the screen on the 'system on' button press, or when the 'screen down'
button is pressed, we use an OR to accomplish this. The figure below shows an
equivalent program to the one above, now using OR symbols, thus allowing for
independent control of each function.
Screen_Down
Vproj_Power_On
Lights_Scene_2
This example is more flexible, but also has drawbacks. First, like the previous
example, programs will be hard to follow, especially as they get larger; for each
function you must trace back through an OR symbol to determine which events
trigger it. Second, as your program grows there may arise other occasions where you
need to trigger a function. For example, perhaps you want to lower the screen
automatically every time a source is selected. This can be handled by simply
increasing the number of inputs to the appropriate OR symbol, but ultimately this
leads to a 'messy' and hard to debug program.
This now leads us back to the Buffer symbol. Remember that the output signals on a
Buffer may be tied to existing signals that are driven by system inputs or by other
Buffers. This enables us to create an elegant program that uses one or more Buffers to
handle all the multi-event triggering. Shown below is a program that performs more
functions than the OR symbol example above, yet uses only a single symbol.
OR
in1
out
Screen_Down_OR
in2
OR
VProj_On_OR
in1
out
in2
OR
in1
out
Lights_Scene_2_OR
in2
Crestron SIMPL Windows • 45
Software

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIMPL Windows and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF