
4Sales Offices - International: (928) 443-9391 US: (800) 281-2683 Europe: (31) 20-6238-983
www.rdlnet.com
Sample Program There is sample Visual Basic (Ver. 6, Professional) source code posted on the RDL
website, www.rdlnet.com (available through both the SYS-CS1 and RU2-CS1 HTML pages). The code is
for a demonstration program that uses most of the features of either the SYS-CS1 or the RU2-CS1. The
code may work in other versions of Visual Basic. See the Microsoft Visual Basic section below for more
information.
Baud Rate Any of the four available baud rates may be used. It is preferable to use the highest
rate possible to minimize response times due to communication time.
Status Monitor When using the SYS-CS1 model a convenient aid to the programmer is the RDL
SYS84SM remote status monitor. This monitor is rack mountable using the RDL RU-RA3 rack-mounting
accessory. It may be left permanently mounted to visually indicate the current program setup of the System84
audio switching matrix that the SYS-CS1 is controlling.
Windows Hyper Terminal The Windows Hyper Terminal program can be used to control the CS1
and is a convenient way to learn programming techniques. It can usually be found under the Start button
menu at: All Programs, Accessories, Communication. If it is not installed it can be added from the Windows
installation CD or CAB file. With Hyper Terminal active, the CS1 can be directly controlled by sending
commands listed in the Command and Error Code Reference section of this manual.
To set up Hyper Terminal, start the program and give it any desired name in the New Connection dialog. In
the following Connect To dialog, select the COM1 or COM2 setting corresponding to the port connected to
the CS1. In the subsequent COM1/2 Properties dialog, select the baud rate that is set on the CS1 rear
panel switches. The data bits should be “8”, the parity setting should be “None” and the Stop bits “1”. The
Flow control must be set to “None”. Click OK when ready.
Hyper Terminal is now configured and the setup should be saved for convenient use later. The info bar at
the bottom should have a Connected… message. If not, click on the telephone icon on the menu bar to
connect.
It is convenient to see typed characters on the screen. To enable this, first disconnect by clicking on the
icon of the telephone with the raised handset. Then click on the Properties icon and click on the Settings
tab. Click the ASCII button and click the box labeled Echo typed characters locally. Click on OK buttons
until done; then reconnect. If this mode is preferred, save the setup.
For an easier to visualize screen it is recommended to set the CS1 outgoing terminator to CR+LF. Type T3
and press the Enter key to do so. Send the “V” command to test it out by typing V and Enter. A line should
appear below the V that was typed in the format “Vn”, where the “n” will be a number indicating the
firmware version installed in the CS1.
It’s also a good idea to send the “REN” command to see the error code returned.
Microsoft Visual Basic Downloading the source files for the demo sample program as a
reference is highly recommended. The demo program was developed using Version 6, Professional Edition.
Other versions may work but may need some modification. The version used must include the serial
communication control (MSCommControl). This control may not be in “Standard” or “Learning” editions.
This control must be activated in the Integrated Development Environment by using menu choice Projects,
Components and clicking on the checkbox for Microsoft Comm Control. The slider controls used in the
demo program were from the Microsoft Windows Common Controls components group. All other controls
used are standard Visual Basic controls (in Ver.6).