Operator`s manual
Signametrics 58
iState
int Indicates the enabled state of the trigger input line. May be set to
ENABLED or DISABLED.
iEdge
int Indicates the active trigger edge for the trigger input line. May be
set to POSITIVE or to NEGATIVE.
Return Value The return 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 “SMX4032.H”
#include “ScanUser.H”
int SCANTriggerOutStete(int iScan, int iState, int iEdge)
Remarks This function sets the scanner’s trigger output line state and polarity. Default is
DISABLED and POSITIVE. If iState is set to ENABLED, the trigger output is enabled,
which reflects in its activity during channel selection and during scanning operations.
With iEdge set to POSITIVE, the trigger output polarity will be positive, which means
that a positive edge on the trigger output line indicates a channel selection ready. See
definitions in ScanUser.H file.
Parameter
Type/Description
iScan
int Identifies the Scanner being addressed.
iState
int Indicates the enabled state of the trigger output line. It may be set
to ENABLED or DISABLED.
iEdge
int Indicates the active edge for the trigger output line. It may be set
to POSITIVE or to NEGATIVE.
Return Value The return value is one of the following constants.
Value
Meaning
SCAN_OKAY
Function succeeded.
Negative Value
Error code
Example SCANTriggerOutState(0, ENABLED, POSITIVE) //set Trig out
SCANTrigScan
H/W access Command Polled Command