39
Signametrics
Positive Value
Scanner ID code
Negative Value
Error code
Example
int id = SCANGetID(0);
SCANGetManDate
H/W access Command
Polled Command
Description
Get Manufacturing date stamp from the Scanner hardware
#include “SM4040.H”
int SCANGetManDate
(
int
iScan,
int *
month,
int *
day,
int *
year
)
Remarks
This function returns the Scanner’s manufacturing date, which is read from the hardware.
The month, day and year are returned as integers. This is used to track the Scanner to a
specific manufacturing date code.
Parameter
Type/Description
IScan
int
Identifies the Scanner. Scanners are numbered starting
with zero.
Month
int *
A pointer to an integer where the month is stored
Day
int *
A pointer to an integer where the day is stored
Year
int *
A pointer to an integer where the year is stored
Return Value
Integer error code.
Value
Meaning
SCAN_OKAY
Operation was successful.
Negative Value
Error code
Example
int month, day, year, status
status = SCANGetManDate(0, &month, &day, &year);
SCANGetScanList
H/W access Command
;
Polled Command
Description
Get a value from the on-board Scan List table.
#include “SM4040.H”
int
SCANGetScanList(int
iScan
, int
iAddress
)
Remarks
This function returns an integer value corresponding to the
iAddress
entry to the
Scanner’s on-board scan list. This value should be 0 to 40 corresponding to an open
channel or channel 1 to 40. This value is written to the table by
SCANSetScanList()
.
Parameter
Type/Description
Summary of Contents for SM4020
Page 61: ...Signametrics 60...