
PT-20 Programming Guide
Simulator (Only for PC Simulator)
Use BackupDataFiletoPC to copy data file to C:\Data directory in PC.
void CopyFileToTerminal(char *pssPCFileName, char *pssPDTFileName);
CopyFileToTerminal("..\\Lookup\\MenuLook.dat",
"D:\\Lookup\\MenuLook.dat");
The CopyFileToTerminal function copies the PC file path specified by
pssPCFileName pointer to the simulator path specified by
pssPDTFileName pointer.
Use BackupDataFiletoPCA to copy data file to any disc in PC.
void BackupDataFiletoPC(char *pTerminalFile, char *pPCFileName);
BackupDataFiletoPC("c:\\data\\test1.dat","f:\\sample\\test1.dat ");
The BackupDataFiletoPC function copies the simulator datafile path
specified by pTerminalFile to the pFileName in PC, and you need to store
with the same file name.
To setting scan module type.
void Sim_SetScannerType(int type);
Sim_SetScannerType(1); //Scan module type is Laser
“type” is an integer variable indicating the scan module type.
Commenti su questo manuale