In the following example, we create a new driver for the Adtec SOLOIST 2 MPEG player. To start this job, it is necessary to have the protocol provided by the manufacturer and study it. The protocol describes the RS232 settings (baudrate, start bits, stop bits, parity) and the control cable pin assignment as well as the commands the device understand. The default RS232 parameters are 38400 baud, 8 data bits, 1 stop bit and no parity, so we need to create a channel with these parameters. In this example we call it “soloist”.
There is no device using a protocol that is similar to Adtec's SOLOIST 2, so we load the Generic Device from the I/O category ( see Device Setup ) and assign the channel “soloist” to this device. Then the project is saved as e.g. soloist_test.vc3.
Now the general conditions to control the device are created. As pointed out in the SOLOIST 2 protocol, the general command format for the device is:
Parameters in angle brackets <> are mandatory Parameters in square bracket  are optional
Respecting the above instructions, the command string for a simple PLAY command sent to a device named “SOLOIST” looks like this:
“SOLOIST PLAY” + chr(13)
After these general deliberations we start creating the driver with simple commands.