Worth Data RF Terminal 7000 User Manual

Page 65

Advertising
background image

effect.

PlayVoice

Parameters: basename, channel, terminal, msgnum
Function:

This instructs the terminal attached to client basename on channel 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

Parameters: basename, channel, terminal
Function:

This instructs the terminal attached to client basename on channel to re-initialize. Must
be followed by an "

Input

" method call to take effect.

NOTE: Base Stations use the message "Buffer Reinitialized..." to indicate a single
terminal re-initialization.

ReInitAll

Parameters: basename, channel
Function:

This instructs all terminals attached to client basename on channel to re-initialize.

TestClient

Parameters: none
Function:

This instructs the Server to "ping" all attached clients. Results are recorded in the log.

Events - TCP/IP COM

WDIPterm 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.

OnTermData

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 is used as a placeholder for logging
purposes.

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

You must set the

ServerOn

property to true before any events can be fired.

OnTermBaseRegister

Data passed:basename, channel
Event:

A base station on client basename has successfully powered up on channel and
communicated with the host computer via the serial connection.

OnTermSignIn6

Data passed:basename, channel, terminal
Event:

A six-line terminal has signed in on channel at client basename. Terminal ID is passed
in terminal.

OnTermSignIn4

Advertising