Worth Data RF Terminal 7000 User Manual

Page 63

Advertising
background image

Properties - TCP/IP COM

Properties are the various configuration variables used by the WDIPterm control. They are directly
assignable in your application (e.g. "WDIPterm.ServerOn = true") and can be set in your development
environment’s object browser.

Note that your development environment may show more properties for the WDIPterm control than are
listed here. This is normal. You may ignore properties you see listed in your development environment that
are not listed here.

ServerOn

Valid values:

True, False

Function:

Set to True to enable the server. Set to false to turn the server off. You should leave this
off unless your program is actually running. Setting it to True at design-time can cause
problems.

Quiet

Valid values:

True, False

Function:

If

Quiet

is set to True then any status and error message generated by WDIPterm will be

suppressed.

LogFile

Valid values:

blank or a valid file name

Function:

If the file does not exist it will be created. If it exists, it will be appended to. If

LogFile

is

blank, no log file is maintained.

ClientList

Valid Values:

Read Only.

Function:

Returns a formatted string listing all attached client BaseNames and associated IP
numbers. Format is "basename CR/LF IP address CR/LF basename…".

Methods - TCP/IP COM

Methods are commands that you issue to the WDIPterm control. All of the "

Inputxxx

" commands cause the

terminal to wait for operator input.

Note that your development environment may show more available methods for the WDIPterm control than
are listed here. This is normal. You may ignore methods you see that are not listed here.

InputAny

Parameters: basename, channel, terminal, line, position, prompt, shifted, timestamped
Function:

This instructs the terminal attached to client basename on channel to display the prompt
at line and position and wait for data to be entered from either terminal keypad or
scanner. If shifted is set to "true", the terminal will start in shifted mode. Timestamped
appends a (hhmmss) prefix to the returned data.

InputKeyBd

Parameters: basename, channel, terminal, line, position, prompt, shifted, timestamped
Function:

This instructs the terminal attached to client basename on channel to display the prompt
at line and position and wait for data to be entered from the terminal keypad only. If
shifted is set to "true", the terminal will start in shifted mode. Timestamped appends a
(hhmmss) prefix to the returned data.

InputScanner

Parameters: basename, channel, terminal, line, position, prompt, allowbreakout, timestamped
Function:

This instructs the terminal attached to client basename on channel to display the prompt
at line and position and wait for data to be entered from the terminal scanner only.
Setting allowbreakout to true allow user to "breakout" of scanner only mode by pressing

Advertising