
43
after executing, it should be the error of opening font file. The fonts
can be made by the Font Generator provided by the development kit.
◆
System Calls for Simulator
BackupDataFiletoPC
BackupDataFiletoPCA
Purpose
:
Use
BackupDataFiletoPCA
to copy data file to any disc in PC.
Syntax
:
void BackupDataFiletoPC(char *pTerminalFile;
void BackupDataFiletoPCA(char *pTerminalFile, char *pFileName);
Example call
:
BackupDataFiletoPCA("c:\\data\\test1.dat","f:\\sample\\test1.dat ");
// Copy collector c:\\data\\test1.dat to PC f:\\sample\\test1.dat
Includes
:
#include
“
UserLib.h
"
Description
:
The
BackupDataFiletoPCA
function copies the simulator datafile
path specified by pTerminalFile to the pFileName in PC, and you
need to store with the same file name.
CopyFileToTerminal
Purpose
:
Use
BackupDataFiletoPC
to copy data file to C:\Data directory in
PC.
Syntax
:
void CopyFileToTerminal(char *pssPCFileName, char
*pssPDTFileName);
Example call
:
CopyFileToTerminal("..\\Lookup\\MenuLook.dat",
"D:\\Lookup\\MenuLook.dat");
Includes
:
#include
“
UserLib.h
"
Description
:
The
CopyFileToTerminal
function copies the PC file path specified
by
pssPCFileName
pointer to the simulator path specified by
pssPDTFileName
pointer.
SaveFileInPC
Purpose
:
Use
SaveFileInPC
to store the data field in buffer to PC.
Syntax
:
void SaveFileInPC(char *pssFileName, char *pssBuffer, int nSize);
Example call
:
SaveFileInPC("c:\\Tempout.prn", pssBuf, nD8);
Includes
:
#include
“
UserLib.h
"
Description
:
The
SaveFileInPC
function stores the data field specified by
pssBuffer
pointer to the PC file specified by
pssFileName
file path
pointer.
nSize
specifies the length of stored data field.
SIMULATOR_END
Purpose
:
Use
SIMULATOR_END
to make the termination of simulator
Содержание PT-10
Страница 4: ...3 Keyboard Wedge 99 System 101 Power 102 Other 102 ...
Страница 13: ...12 6 Development Flow Chart ...
Страница 53: ...52 Returns No returns Notes ...