Worth Data RF Terminal 7000 Скачать руководство пользователя страница 10

pressing the end key on the terminal. A 

CR 

will be sent to the host. 

FG

 and 

BG

 are 

ForeGround

 and 

BackGround

 colors for the 7001 (15-line) terminal (See 

Color Codes

). 

InputYesNo

(All Terminal Versions)

 

Parameters

: line, position, prompt

InputYesNoColor

(15-Line Terminal Only)

 

Parameters

: line, position, prompt, FG, BG

Function: 

This instructs the 

ActiveTerminal 

to display the 

prompt 

at 

lin

e and 

position 

and wait for a 

Yes 

(Enter key 

or C key) or a 

No 

(0 key or B key) from the terminal keypad. 

Note: C and B keys are used to facilitate keypad entry while scanning with the integrated laser.

FG

 and 

BG

 are 

ForeGround

 and 

BackGround

 colors for the 7001 (15-line) terminal (See 

Color Codes

).  

InputPassword

(All Terminal Versions)

 

Parameters

: line, position, prompt, shifted

InputPasswordColor

 

(15-Line Terminal Only)

 

Parameters

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

Function: 

This instructs the 

ActiveTerminal 

to display the 

promp

t at 

line 

and 

position 

and wait for data to be entered 

from the terminal keypad only. The entered data is 

not 

displayed on the terminal. 

FG

 and 

BG

 are 

ForeGround 

and 

BackGround

 colors for the 7001 (15-line) terminal (See 

Color Codes

). 

InputSerial

 

(All Terminal Versions)

 

Parameters

: line, position, prompt

InputSerialColor

 

(15-Line Terminal Only)

 

Parameters

: line, position, prompt, FG, BG

Function: 

This instructs the 

ActiveTerminal 

to display the 

prompt 

at 

line 

and 

position 

and wait for data to be 

received through the terminal serial port. Waiting for serial input can be bypassed by pressing the 

enter 

key on 

the terminal which will send an empty data string to the host (fires the 

OnTermData 

event handler). 

FG

 and 

BG 

are 

ForeGround

 and 

BackGround

 colors for the 7001 (15-line) terminal (See 

Color Codes

). 

OutputSerial

(All Terminal Versions)

 

Parameters

: data

Function: 

This instructs the 

ActiveTerminal 

to send 

data 

to the terminal’s serial port. Data must be less than 232 

characters in length for each call to 

OutputSerial

. If you are sending data to a printer attached to the terminal, 

make sure to set the Protocol parameter in the RF Terminal to XON/XOFF. See the RF Terminal Manual for 
details.

Special Considerations: 

After an 

OutputSerial

 call is successfully completed, the Base Station will return (as data) a CR (ASCII 

#13 Carriage Return) for the terminal. This will fire the 

OnTermData

 event. If there is a problem with 

the serial data you will see an error message at the client and in the log (if enabled). If the data string is 
too long, the 

OnTermIllegalCommand

 event will be fired. 

Do not call 

OutputSerial

 for the same Base Station and Terminal again until a return code is received. 

Do not call an 

Inputxxx

 method for the same Base Station and Terminal until a return code is received. 

If you need to send more than 232 characters, send the first part, wait for the acknowledge (#13) and 
then send the next part. 

Calls to 

OutputSerial

 cannot be combined with other method calls 

See the RF Terminal Manual for details. 

Содержание RF Terminal 7000

Страница 1: ......

Страница 2: ...Table of Contents How The System Works Before You Begin Properties Methods Events ...

Страница 3: ... Base Station to handle up to 64 Terminals Dialog is established when a Terminal SIGNS ON to the RF network The host computer application waits until a Terminal SIGNS ON then begins its processing by sending the first prompt out to the Terminal via the Base Station If the Terminal does not receive a prompt from the host it goes into sleep mode waking up and checking with the Base periodically to s...

Страница 4: ...e most frequent failures are at the Terminal level If a Terminal has a hardware failure it will not be able to SIGN OUT It is possible for the Terminal operator to press the ON OFF key or the F1 key by accident forcing the Terminal to SIGN OUT sometimes in the middle of a transaction This happens at battery changing time also You need to plan for partial transactions do you trash the data you do h...

Страница 5: ... method calls make sure to Set the COM port properties device name baud parity bits etc as desired Make sure the port is closed call CloseDevice before making changes to any of the port settings Call the OpenDevice method This activates the COM port used by this instance of the WDterm control Set the ActiveTerminal property to identify the terminal on which you desire to operate You can change the...

Страница 6: ...ly generated The code in the Event Handler is called fired by the drop in component when a specific event occurs An example of an event is when a terminal returns data and the OnTermData event is fired The details of how to access Properties Methods Events varies between development platforms Details of how it works in some of the most popular platforms is illustrated in the samples included with ...

Страница 7: ...etting WDterm may allow other settings but those listed here are the only ones compatible with current version base stations ComDataBits Valid values 7 8 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 ComStopBits Valid values 1 2 Definition This is...

Страница 8: ...enDevice before other method calls will work DefineFormat 15 Line Terminal Only Parameters font linecount Function This adds a line formatting definition This command is called multiple times to build a display formatting definition for multiple lines which is then sent to the ActiveTerminal by the SendFormat command Font is an integer code 0 small 1 medium 2 large Linecount is a number 1 15 indic...

Страница 9: ...rompt 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 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 FG and BG are ForeGround and BackGround colors for the 7001 15 line terminal See Color Codes Inpu...

Страница 10: ...and position and wait for data to be received through the terminal serial port Waiting for serial input can be bypassed by pressing the enter key on the terminal which will send an empty data string to the host fires the OnTermData event handler FG and BG are ForeGround and BackGround colors for the 7001 15 line terminal See Color Codes OutputSerial All Terminal Versions Parameters data Function T...

Страница 11: ...ts the ActiveTerminal to display date and time on the specified line number Must be followed by an Input method call to take effect Beep All Terminal Versions Parameters count Function This instructs the ActiveTerminal to beep count times Count may be a value from 1 to 9 Must be followed by an Input method call to take effect PlayVoice All Terminal Versions Parameters msgnum Function This instruct...

Страница 12: ...ns Parameters TermNumber Function Returns the actual terminal ID letter code for a given terminal number Use the returned character to match with the Terminal ID programmed into a RF Terminal GetErrCode All Terminal Versions Function Returns code for the most recent error Calling this method resets the Error Code to 0 Error Codes 0 No Error 1 Command Data Too Long 2 Error on Close Device 3 Serial ...

Страница 13: ...before any events can be fired NOTE If you are experiencing problems with exception errors make sure you are not calling any WDterm methods from inside WDterm event handlers Instead use the event handlers to set program variables that are monitored elsewhere perhaps in a timer event handler Call WDterm methods from the monitoring function OnTermBaseRegister Event An attached base station has succe...

Страница 14: ...you have already entered some data on the terminal and press an arrow key this event will not fire See the programming section in the RF Terminal manual for details OnTermLeftArrow Data passed terminal Event The left arrow button has been pressed on a terminal You must issue another Input method call before WDterm can respond to another keypress on the terminal If you have already entered some dat...

Страница 15: ...inal Event The SEARCH button has been pressed on a terminal You must issue another Input method call before WDterm can respond to another keypress on the terminal If you have already entered some data on the terminal and press the Search key this event will not fire See the programming section in the RF Terminal manual for details ...

Отзывы: