
Crestron Active CNX Software
Active CNX
Introduction
The ActiveCNX control can be thought of as a touchpanel symbol in SIMPL™
Windows. It can send and receive the three data types: digital, analog, and serial
data. These inputs go into the control system and appear to the control system as an
“e-control PC Interface” symbol. From that point, the user programs the SIMPL
logic as if the system was a real touchpanel.
When a signal changes on the inputs of the “e-control PC Interface”, a message is
sent to the ActiveCNX control. The control responds by firing an event. There are
three main control events that the user can capture and utilize in a PC program.
• OnDigital
• OnAnalog
• OnSerial
All three events return a join number and their corresponding value. The user’s
program can then interpret this data however it needs to. For example, an incoming
digital signal can be used to enable a button on a screen or could be used to trigger a
non-graphical event such as sending an email.
An important aspect of the control is the fact that it is hidden at runtime. This allows
any readily available visual OCX components to easily attach to the ActiveCNX
control component to provide a custom GUI. For example, the digital control signals
can be “attached” to a simple windows button or some type of elaborate image
button OCX that the user downloads from the Web.
The ActiveCNX control can also be used to communicate directly to any CEN
device. In this configuration, the signals map directly to the device instead of signal
number inputs to the SIMPL program. For example, with the CENIO to close relay 7
simply send a “enabled” signal to join 7.
Step by Step Tutorial
The ActiveCNX control can be used in Visual Basic or any other visual development
environment that supports OCX controls. The following example shows how this
control is used in Visual Basic. To add ActiveCNX to the development environment
right click in the components window and select Components or go to Project |
Components. A dialog similar to the one after this paragraph appears.
Introduction & Tutorial - DOC. 5777A Active CNX • 1
Comentarios a estos manuales