Worth Data 701 RF Methods TCP/IP COM, Blank or a valid file name, Prompt, shifted, timestamped

Models: 701 RF

1 155
Download 155 pages 44.3 Kb
Page 81
Image 81

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.

6-26

Page 81
Image 81
Worth Data 701 RF manual Methods TCP/IP COM, Blank or a valid file name, Basename, channel, terminal, line, position