Operator`s manual

43 Signametrics
#include “SMX4032.H”
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
4030
SMX4030 is at iScan slot
4032
SMX4032 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 “SMX4032.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