3156B User Manual
Programming Reference 5-148
Racal Instrument © 2005
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.
The Trigger
Functions Group
Use this group to synchronize device operations with external events.
These functions control the run modes of the Model 3156B. The
generator can be placed in Triggered, Gated or Burst mode, with or
without trigger and re-trigger delays. Trigger source is selectable from
a number of external sources or a software trigger.
Parameter ranges and their defaults are given where applicable. The
communication session is terminated with the close function.
Trigger Programming
3156B Function Name
Parameter(s)
Range
Default
Trigger Inputs and Outputs
ri3156B_set(query)_trigger_source ViInt16 triggerSource
0 to 9
0
ri3156B_set(query)_trigger_delay ViReal64 triggerDelay
500e-9 to 21
500e-9
ri3156B_set(query)_trigger_delay_state
ViBoolean triggerDelayState
0, 1
0
ri3156B_set(query)_burst_mode_cycles
ViInt32 numberofCycles
1 to 1e6
1
ri3156B_set(query)_Mod_burst_mode_cycles ViInt32 ModulatNumberofCycles
1 to 1e6
1
ri3156B_set(query)_trigger_slope
ViBoolean triggerSlope
0, 1
0
ri3156B_set(query)_trigger_level ViReal64
triggerLevel
-5 to +5
1.6
ri3156B_set(query)_re_trigger_delay_state
ViBoolean retriggerDelayState
0, 1
0
ri3156B_set(query)_re_trigger_delay ViReal64 retriggerDelay
500e-9 to 21
500 ns
Sync Outputs
ri3156B_set(query)_sync_output_type
ViInt16 SYNCPulseType
0, 1
0
ri3156B_set(query)_sync_output_state
ViBoolean syncState
0, 1
0
ri3156B set(query)_TTLTRG_n_output_state
VIBoolean TTLTRG_out_state
0, 1
0
VIInt 16 TTLTRG_n
0 to 7
0