Signametrics
40
Iscan
int
Identifies the Scanner. Scanners are numbered starting with zero.
LpdMax
double FAR *
Pointer where the Max value is to be saved.
Return Value
Integer error code..
Value
Meaning
SCAN_OKAY
Operation successfully completed.
Negative Value
Error code
Example
int ScanLst[192];
ScanLst[3] = SCANGetScanList(0, 3); //Get the 4
th
entry
SCANGetShortedChannel
H/W access Command
;
Polled Command
Description
Returns the channel number of the shorted channel.
#include “SM4040.H”
int
SCANGetShortedChannel
(
int
iScan
)
Remarks
This function searches and detects a shorted channel, starting with channel 1. It returns
the first channel which is found to be shorted. If none is found, the returned value is 0. A
valid returned value must be 0 to 40. 0 indicates no shorted channel is found, 1 to 40
correspond to channels 1 to 40 being shorted.
Parameter
Type/Description
iScan
int
Identifies the Scanner. Scanners are numbered starting with zero.
Return Value
The return value corresponding to the shorted channel or an error code.
Value
Meaning
0
No shorted channel found.
1 to 40
Shorted channel number
Negative Value
Error code
Example
int shorted = SCANGetShortedChannel(0);
SCANGetStepTime
H/W access Command
Polled Command
Description
Get the currently set Auto Scan step time.
#include “SM4040.H”
Summary of Contents for SM4020
Page 61: ...Signametrics 60...