3156B User Manual
Programming Reference 5-154
Racal Instrument © 2005
Ri3156b_set(query)_trigger_slope
Description
The trigger slope function selects the sensitive edge of the trigger signal that is applied to the TRIG IN
connector or to the backplane TTLTrg lines. The Model 3156B can be made sensitive to either the positive or
negative transitions. Positive going transitions will trigger the Model 3156B when the POS option is selected.
Negative transitions will trigger the Model 3156B when the NEG option is selected. In Gated mode, two
transitions in the same direction are required to gate on and off the output.
Channel Dependency: Common
C Syntax
ViStatus ri3156b_set_trigger_slope (ViSession instrHandle, ViBoolean triggerSlope)
ViStatus ri3156b_query_trigger_slope (ViSession instrHandle, ViBoolean * triggerSlope)
Parameters
Name
Variable
Type
Description
instrHandle
ViSession
The Instrument Handle is used to identify the unique
session or communication channel between the driver
and the instrument. If more than one instrument of the
model type is used, this will be used to differentiate
between them. Note that the initialize function may be
used to associate multiple instrument handles with a
single instrument.
triggerSlope
ViBoolean Selects the trigger edge for the external trigger signal.
Valid range: 0, 1
0 – selects positive transitions
1 – selects negative transitions
Default: 0
Return Values
Displays the return status of the function call. If the function was successful, it will return a status of
VI_SUCCESS, otherwise it will return an error code. Passing the error code into the function
"ri3156B_error_message()" will return a string describing the error.