3156B User Manual
Racal Instrument © 2005
Programming Reference 5-171
Ri3156b_clear
Description
Performs a VXI word serial clear command. This results in clearing the input and output buffers of the 3156B.
This can be useful for re-establishing communication with the 3156B and for ensuring no partial commands lie
in the instrument's input buffer.
Channel Dependency: Common
C Syntax
ViStatus ri3156b_clear (ViSession instrHandle)
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.
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.
Ri3156b_get_option
Description
This interrogates the 3156B for the installed options. There is only one option available for the 3156B – TCXO
time base. The TCXO reference option increases the accuracy of the generator output from 100ppm to 1ppm.
Channel Dependency: Common
C Syntax
ViStatus ri3156b_get_option (ViSession instrHandle, ViPInt16 optionInstalled)