Operator`s manual
41 Signametrics
Remarks This function returns an integer value corresponding to the iAddress entry to the
Scanner’s on-board scan list. This value should be 0 to 35 corresponding to an open
channel or channel 1 to 35. This value is written to the table by SCANSetScanList().
Parameter
Type/Description
iScan
int Identifies the Scanner. Scanners are numbered starting with zero.
iAddress
int The address of the scan list to be read.
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 “SMX4032.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 35. 0 indicates no shorted channel is found, 1 to 35
correspond to channels 1 to 35 being shorted. It can be used to identify the connector
pins while constructing a harness.
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