Crestron UPX-2 Reference Manual page 28

Crestron upx-2 universal presentation processor: reference guide
Hide thumbs Also See for UPX-2:
Table of Contents

Advertisement

Universal Presentation Processor
SIMPL Windows Programming, Embedded Applications – Excel On/Off Example
24 ¥ UPX-2: Universal Presentation Processor
This example has join #1 assigned to a button that is used to toggle the state of
Excel. Press 1 is routed to the clock line of a toggle symbol. The output of the toggle
is routed to fb 2. Join #2 is referred to as the "Open/Close Excel" state digital join.
The feedback signal of the Open/Close state digital join is used to open and close the
application. In this example, when fb 2 goes high, Excel opens, and when fb 2 goes
low, Excel closes.
Because clicking the "X" in the upper right corner can close the application, the
toggle must be kept synchronized with the actual state of the application. So a one-
shot is used to reset the state of the toggle.
The "Press" signal of the Open/Close state digital join can be used to determine the
true state of the application. In this example, when Press 2 goes high Excel is open.
When Press 2 goes low, Excel is closed. Here we use the falling edge of Press 2
through a one-shot symbol to reset the state of the toggle symbol. Now the toggle
will remain properly synchronized if the user closes the application using the
"X"(close window) control.
Route the embedded application to the audience display using this logic. The
touchpanel symbol (digital and analog joins), and an analog initialize symbol are
used in this example.
The 0d entry in the Analog Initialize symbol routes the application to the audience
display.
Crestron UPX-2
Reference Guide – DOC. 6286A

Advertisement

Table of Contents
loading

Table of Contents