Worth Data 7000 manual True, False, Methods ActiveX Object, Color Codes for, Line Terminal

Models: 7000

1 95
Download 95 pages 40.52 Kb
Page 52
Image 52

ComStopBits

1, 2

Valid values:

Definition: This is a serial port setting and must match the base station setting. WDterm may allow other settings but those listed here are the only ones compatible with current version base stations.

Quiet

True, False

Valid values:

Definition: If Quiet is set to True then any status and error message generated by WDterm will be suppressed.

Methods – ActiveX Object

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.

Color Codes for 7001

7 - maroon

(15-line) Terminal

8 - navy

0

- aqua

9 - olive

10

- purple

1

- black

11 - red

2

- blue

12

- silver

3

- fuchsia

13

- teal

4

- gray

14

- white (white)

5

- green

15

- yellow

6

- lime

 

 

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

InputAnyColor (15-line terminal only)

Parameters: line, position, prompt, shifted, timestamped,FG,BG

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.

Page 52
Image 52
Worth Data 7000 manual True, False, Methods ActiveX Object, Color Codes for, Line Terminal