
63
8. CL Library
Table 8-1 CL Functions list
Function Description
Reader
Decode
Perform barcode decoding.
HaltScanner1
Stop the scanner port from operating.
InitScanner1
Initialize respective scanner port.
Buzzer
beeper_status
To see whether a beeper sequence is under going or not.
off_beeper
Terminate beeper sequence.
on_beeper
Assign a beeper sequence to instruct beeper action.
SetBuzzerVol
Set the buzzer volume.
Calender
DayOfWeek
Get the day of the week information.
get_time
Get current date and time.
set_time
Set new date and time to the calendar chip.
File Manipulation
__access
Check for file existence.
append
Write a specified number of bytes to bottom (end-of-file
position) of a DAT file.
appendln
Write a specified number of bytes to bottom (end-of-file
position) of a DAT file.
chsize
Extends or truncates a DAT file.
close
Close a DAT file.
delete_top
Remove a specified number of bytes from top
beginning-of-file position) of a DAT file.
delete_topln
Remove a null terminated character string from the top
(beginning-of-file position) of a DAT file.
eof
Check if file pointer of a DAT file reaches end of file.
filelength
Get file length information of a DAT file.
filelist
Get file directory information.
lseek
Move file pointer of a DAT file to a new position.
open
Open a DAT file and get the file handle of the file for
further processing.
read
Read a specified number of bytes from a DAT file.
read_error_code
Get the value of the global variable fErrorCode.
readln
Read a line terminated by a null character “\0” from a
Содержание 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 ...