Operator`s manual
51 Signametrics
iLevel
int Level indicator. 0 – low, 1 – high.
Return Value The return value is one of the following constants.
Value Meaning
SCAN_OKAY
Operation successfully completed.
Negative Value
Error code
Example status = SCANSetTriggerOut(0,1); //Set trigger line to high level
SCANSetupStep
H/W access Command ; Polled Command
Description Set the Scanner for Stepped scanning operation.
#include “SM4040.H”
int SCANSetupStep(int iScan)
Remarks This function prepares the Scanner for a single step scanning operation. See SCANStep
function for details. It clears the hardware ScanList pointer to point to the first entry of
the ScanList table. Step() command increments this pointer.
Parameter Type/Description
iScan
int Identifies the Scanner being addressed.
Return Value Integer error code.
Value Meaning
SCAN_OKAY
Operation successfully completed.
Negative Value
Error code
Example
int status = SCANSetupStep(0); // Set for step scan operation
SCANStep
H/W access Command ; Polled Command
Description Step to the next channel in the Scan List.
#include “SM4040.H”
int SCANStep(int iScan)
Remarks Switch to the next point in the scan table. This is software triggered switching function. It
is similar to SCANTriggerScan except the scanner steps to the next channel in the scan
list due to a command rather than by hardware event. The number of points is the actual
number of times SCANStep is issued following SCANSetupStep command.
SCANSetupStep sets the hardware ScanList pointer to point to the first entry of the
ScanList table. On SCANStep command, the Scanner selects the channel(s) pointed to
by the hardware pointer, then increments the ScanList pointer. Parameters effecting the
operation include the set configuration, the Actuation time, and trigger output polarity