Quiet

 

Valid values:

True, False

Definition:

If Quiet is set to True then any status and error

 

message generated by WDterm will be suppressed.

Methods - Serial COM

Methods are commands that you issue to the WDterm 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 WDterm control than are listed here. This is normal. You may

ignore methods you see that are not listed here.

Important: When your application starts up, the serial port is "closed". You must call OpenDevice before other method calls will work.

Except for the ReInitAll method, all methods use the ActiveTerminal property to identify the terminal to use.

OpenDevice

Function:

Opens the communications (serial) port. This must

 

be called before any of the methods described

 

below. Make sure to set all Properties as desired

 

before calling this method (except ActiveTerminal

 

or Quiet).

CloseDevice

 

Function:

Closes the communications (serial) port. This must

 

be called before changing any of the Property

 

settings (except ActiveTerminal or Quiet). When

 

your application starts up, the serial port is

 

"closed". You must call OpenDevice before other

 

method calls will work.

InputAny

 

Parameters:

line, position, prompt, shifted, timestamped

Function:

This instructs the ActiveTerminal 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-17

Page 72
Image 72
Worth Data 701 RF manual Methods Serial COM, True, False, Ignore methods you see that are not listed here