beautypg.com

Argox PA-20 Basic Programming Manual User Manual

Page 50

background image

PT-Basic Programming Manual Ver. 1.00

49/143

SIM_SCANKEY_PRESS

Purpose: To simulator the “Scan” key press or release.

Syntax: SIM_SCANKEY_PRESS(N1%)

Example:

„Set the scan key pressed.

SIM_SCANKEY_PRESS(1)

„Set the scan key released.

SIM_SCANKEY_PRESS(0)

Description: This command can simulator the scan key status for pressed

or released.

READER_SETFROMFILE

Purpose: To set scanner setting by scanner setting file.

Syntax: A%=READER_SETFROMFILE(FilePath$)

Example: A%=READER_SETFROMFILE("c:\data\PA21.axs")

Description: A% is an integer variable to be assigned to the result.

A%

Meaning

0

Setting fail

1

Setting OK

FilePath $ is a string variable, indicating the Scanner setting

file path.