3156B User Manual
Racal Instrument © 2005
Programming Reference 5-159
Ri3156b_set(query)_sync_output_state
Description
This toggles the SYNC signal, at the SINC OUT connector only, ON and OFF. Sync type can be set using the
ri3156b-set_sync_type () function. This command does not affect the TTLTRG(n) state.
Channel Dependency: Independent
C Syntax
ViStatus ri3156b_set_sync_output_state (ViSession instrHandle, ViBoolean syncState)
ViStatus ri3156b_query_sync_output_state (ViSession instrHandle, ViBoolean * syncState)
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.
syncState
ViBoolean Toggles the SYNC output On and Off
Valid range: 0, 1 (Off, On)
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.