Operator`s manual

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.
#incl
ude “SM4040.H”
int SCANGetHwVer(int iS
can)
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.
R
eturn 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”
i
n
t SCANGetID(int iScan)
Remarks This fu
nction 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
w
ith zero.
Return Value Integer card ID code (serial num
ber) or an error code.
Value
Meaning