PlayVoice

 

Parameters:

msgnum

Function:

This instructs the ActiveTerminal to play voice

 

message number msgnum. Msgnum may be a value

 

from 1 to 99. Must be followed by an "Input"

 

method call to take effect.

ReInit

 

Function:

This instructs the ActiveTerminal to re-initialize.

 

Must be followed by an "Input" method call to take

 

effect.

 

Base Stations use the message "Buffer

 

Reinitialized..." to indicate a single terminal re-

 

initialization.

ReInitAll

 

Function:

Instructs all attached terminals to re-initialize.

Events - Serial COM

WDterm events occur when a specific condition is met. When an event is "fired", an event handler function in your application is called.

Though the details of exactly how it is done varies from one programming environment to the next, the source code skeletons for the various event handlers are automatically generated and inserted into your source code for you. See the samples for more specific information.

Each event passes relevant information to your event handler function. The only event that does not pass any data is OnTermBaseRegister. All others pass at least the Terminal ID on which the event occurred. OnTermData also passes the data that was keyed or scanned into the terminal.

Terminal ID is always passed as 0-63. A Terminal ID value of 99 indicates an error.

Once you have the event handler skeletons, you can proceed to add whatever functionality you desire to each event.

You must call the OpenDevice method before any events can be fired.

OnTermBaseRegister

Event:

An attached base station has successfully powered

 

up and communicated with the host computer via

 

the serial connection.

6-20

Page 75
Image 75
Worth Data 701 RF manual Events Serial COM, Msgnum