Specifications

Software Development Kit & CNX Gateway Crestron e-control™
Running
Start the CNX Gateway
The CNX Gateway must be running whenever any Web page or Visual Basic
program attempts to communicate with Crestron equipment. Refer to the discussion
above if you want to place the CNX Gateway in your Startup menu. Only one CNX
Gateway needs to run on any network, although it is possible to run one or multiple
copies on some or all PCs. After the CNX Gateway starts, it displays a small swirl in
the system tray (right side of the Taskbar).
If you installed a CNX Gateway on your computer in the Setup stage above, it
should already be running with an icon displayed in the system tray.
Getting Status Information from the CNX Gateway
Once the CNX Gateway is running, double click on its small swirl icon in the system
tray to bring up its dialogs. Click on the “General” tab to find its IP Address and its
name. Click on the “Connection Information” tab to see the IP addresses that are
currently in use. The top box (“PC Connections”) contains any WebControl
connections. The bottom box (“CIP Connections”) contains any CNMSX or CEN
Series connections that are or have been addressed by the Crestron e-control SDK
connections. When a PC connection is broken, the CIP connections it established are
also broken.
Start the Visual Basic Program or Web Page
Visual Basic programs are installed on the individual user’s computer and are started
in the usual way, by double clicking on icons.
Web pages are brought up by starting the default browser and typing in the address
of the Web page to view.
Shutting Down the CNX Gateway
The CNX Gateway should run until all client programs (browsers or Visual Basic
programs) have finished. To stop the CNX Gateway, double click on the Crestron
swirl icon in the system tray (right side of the task bar) to bring up the dialog for the
CNX Gateway. Click on the tab marked “General”, then on the button marked
“Close”. There are three choices:
1. “Shut down after all users log off” is the recommended choice. It will
stop as soon as the last user disconnects. If you click on the “General”
tab, there is a status line saying “Awaiting users to Exit”. If you change
your mind and do not wish to stop the CNX Gateway, click on the
“Close” button again, and select the first option which has changed to
“Do not shut down after all users log off”.
2. “Disconnect all users” will not shut down the CNX Gateway, but
terminates all users. Programs will need to exit and re-start or execute a
“Reconnect” command if one is available in order to restore
connections.
3. “Shut down immediately” disconnects all users immediately and stops
the CNX Gateway.
12 Crestron e-control™: Software Development Kit & CNX Gateway Operations Guide - DOC. 5778A