Signametrics
38
Positive Value
Version
Negative Value
Error code
Example
firmware_ver = SCANGetGrdVer(0);
SCANGetHwVer
H/W access Command
Polled Command
Description
Get the hardware version of the Scanner.
#include “SM4040.H”
int
SCANGetHwVer
(
int
iScan
)
Remarks
This function returns the Scanner hardware version. A returned value of 0 corresponds to
Rev_, 1 corresponds to Rev_A, 2 to Rev_B etc.
Parameter
Type/Description
iScan
int
Identifies the Scanner. Scanners are numbered starting with zero.
Return Value
Scanner hardware code or an error code.
Value
Meaning
Positive value
Hardware version code
Negative Value
Error code
Example
int HWVer = SCANGetHwVer(0);
SCANGetID
H/W access Command
Polled Command
Description
Get Scanner ID code.
#include “SM4040.H”
int SCANGetID
(
int
iScan
)
Remarks
This function returns the Scanner’s identification code. Each Scanner has a unique ID
code, which is part of the serial number
.
Parameter
Type/Description
IScan
int
Identifies the Scanner. Scanners are numbered starting
with zero.
Return Value
Integer card ID code (serial number) or an error code.
Value
Meaning
Summary of Contents for SM4020
Page 61: ...Signametrics 60...