Worth Data 7000 Stereo System User Manual


 
Methods are function calls used to issue commands and access features of the drop-in component. An
example of a method is sending an Input command to the terminal.
Events are function definitions placed in your application’s source code. The function definitions in
your source code are called Event Handlers. The skeleton structure of the event handler’s source code is
automatically generated. The code in the Event Handler is called ("fired") by the drop-in component
when a specific event occurs. An example of an event is when a terminal returns data and the OnTermData
event is fired.
The details of how to access Properties/Methods/Events varies between development platforms. Details of
how it works in some of the most popular platforms is illustrated in the samples included with the RF
Utilities CD or available for download from our website at:
http://www.barcodehq.com/downloads.html
Properties – ActiveX Object
Properties are the various configuration variables used by the WDterm control. They are directly assignable
in your application (e.g. "WDterm.ActiveTerminal = 5") and can be set in your development environment’s
object browser.
Important: Except for ActiveTerminal and Quiet, all properties require the serial port to be "closed" before they
can be changed. Use the CloseDevice method before setting properties and then call OpenDevice to re-open the
serial port.
Note that your development environment may show more properties for the WDterm control than are listed
here. This is normal. You may ignore properties you see that are not listed here.
ActiveTerminal
Valid values: 0 -63
Definition: This is the terminal ID (0-63) to which method call instructions are directed.
ComDeviceName
Valid values: COM1-COM16
Definition: This is the serial port that this instance of the control will use. If you have more than
one base station, drop in another WDterm control and set its ComDeviceName for your
other COM port(s).
ComBaudValue
Valid values: 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200
Definition: This is the serial port speed setting and must match the base station setting.
ComParity
Valid values:None, Even, Odd.
Definition: This is a serial port setting and must match the base station setting. WDterm may allow
other settings but those listed here are the only ones compatible with current version
base stations.
ComDataBits
Valid values: 7, 8
Definition: This is a serial port setting and must match the base station setting. WDterm may allow
other settings but those listed here are the only ones compatible with current version
base stations.