beautypg.com

Simulator (only for pc simulator) commands, 21 simulator (only for pc simulator) commands – Argox PA-20 Basic Programming Manual User Manual

Page 105

background image

PT-Basic Programming Manual Ver. 1.00

104/143

3.21 Simulator (Only for PC simulator) commands

COPYFILETOPDT

Purpose: To copy a file from PC side to PDT.

Syntax: COPYFILETOPDT(PCPath$ , PDTPath$)

Example: COPYFILETOPDT("D:\Code\BASIC\5.BMP","D:\PROGRAM\5.

BMP")

Description: The COPYFILETOPDT command copies the PC file path specified

by PCPath$ to the simulator path specified by PDTPath$.

BACKUPDATAFILETOPC

Purpose: To backup a file from PDT to PC.

Syntax: BACKUPDATAFILETOPC(PDTPath$ , PCPath$)

Example: BACKUPDATAFILETOPC("D:\PROGRAM\5.BMP","d:\test.bmp

")

Description: The BACKUPDATAFILETOPC command copies the simulator

datafile path specified by PDTPath$ to the PCPath$ in PC and

stored in PC with the same file name.

SIM_SETSCANNERTYPE

Purpose: To setting scan module type.

Syntax: SIM_SETSCANNERTYPE(N%)

Example: SIM_SETSCANNERTYPE(1)

Description: N% is an integer variable indicating the scan module type.

N% Meaning

0

CCD module

1

Laser module