51
Signametrics
Parameter Type/Description
iScan
int
Identifies the Scanner. Scanners are numbered starting with zero.
iAddress
int
Identifies the address to write to. It can be a value between 0 and
191.
iChannel
int
Channel number maybe a value between 0 to 32 (0 for all open)
Return Value
Integer error code.
Value Meaning
SCAN_OKAY
Operation successfully completed.
Negative Value
Error code
Example
double reading; int I;
for(i=0; i<35;i++) SCANSetScanList(0, i-1, i); // Set
locations // 0 to 34 to channels 1 through 35
SCANAutoScan(0,35); // execute a 40 point auto scan
sequence of // Ch1, Ch2, Ch3…Ch35
SCANSetStepTime
H/W access Command
Polled Command
Description
Set auto scan step time
#include “SMX4032.H”
int
SCANSetStepTime
(
int iScan, double dStep
)
Remarks
This function sets the scanner’s Step time value. The Step time effects the various auto-
scanning operations. It is the dwell time at each channel in a scan sequence. For proper
operation the Step time must be greater than the actuation time. The default value is
100mS. The allowed range is from 1ms to 850ms. The resolution is 0.25ms.
Parameter Type/Description
iScan
int
Identifies the Scanner being addressed.
dStep
double
Sets the step time. Allowed value is between 1ms to 850ms.
Return Value
The return value is one of the following constants.
Value Meaning
SCAN_OKAY
Function succeeded.
Negative Value
Error code
Example
status = SCANSetStepTime(0, 0.200); // Set step time
// to 200ms
SCANSetTriggerOut
H/W access Command
Polled Command