Operator`s manual
Signametrics 56
iPoints
int Indicates the numb
er of points in the scan.
Return Value The ret
urn value is one of the following constants.
Value
Meaning
SCAN_OKAY
Function succeeded.
Negative Value
Error code
Example SCANTriggerOutState(0,ENABLED, POSITIVE); //positive edge
CANTrigAutoScan(0, 20); // set off 20 point scan.
SCANTriggerInState
H/W access Command ; Polled Command
Description Set trigger input state.
#include “SM4040.H”
#include “ScanUser.H”
int SCANTri
ggerInStete
(int iScan, int iState, int iEdge)
Remarks This
function sets the scanner’s trigger input state and active edge. Default is
DISABLED and POSITIVE. If iState is set to ENABLED, the trigger input line is
enabled. If iEdge is set to POSITIVE, Positive Edge will activate operations. See
definitions in ScanUser.H file.
Parameter
Type/Description
iScan
int Identifies the Scanner being addressed.
iS
tate
int Indicates the enabled state of the trigger input line. May be set to
ENABLED or DISABLED.
i
Edge
int Indicates the active trigger edge for the trigger input line. May be
set
to POSITIVE or to NEGATIVE.
Return Value The ret
urn value is one of the following constants.
Value
Meaning
SCAN_OKAY
Function succeeded.
Negative Value
Error code
Example SCANTriggerInState(0, ENABLED, POSITIVE) // set Trig-in line
SCANTriggerOutState
H/W access Command ; Polled Command
Description Set trigger output state.
#include “SM4040.H”
#include “ScanUser.H”
int SCANTri
ggerOutStete(int i
Scan, int iState, int iEdge)