Operator`s manual
Signametrics 42
int SCANGetType(int iScan)
Remarks This function returns the Scanner type.
Parameter Type/Description
iScan
int Identifies the Scanner. Scanners are numbered starting with zero.
Return Value Scanner type Integer or an error code.
Value Meaning
4020
SM4020 is at iScan slot
4022
SM4022 is at iScan slot
4040
SM4040 is at iScan slot
4042
SM4042 is at iScan slot
Negative Value
Error code
Example int type = SCANGetType(0);
SCANGetVer
H/W access Command Polled Command
Description Return the Scanner’s DLL software driver version.
#include “SM4040.H”
int SCANGetVer(double FAR *lpfResult )
Remarks This function returns the Scanner’s software driver version, which is a double floating
value.
Parameter Type/Description
lpfResult
double FAR * Pointer to the location which holds the version.
Return Value Integer value version code or an error code.
Value Meaning
SCAN_OKAY
Operation successfully completed.
Negative Value
Error code
Example int status; double d;
status = SCANGetVer(&d);
SCANInit
H/W access Command ; Polled Command