
3156B User Manual
Programming Reference 5-96
Racal Instrument © 2005
Ri3156b_set(query)_sweep_time
Description
This specifies the time that will take the 3156B to sweep from start to stop frequencies. The time does not
depend on the sweep boundaries as it is automatically adjusted by the software to the required interval. At the
end of the sweep cycle the output waveform maintains the sweep stop frequency setting.
Channel Dependency: Independent
C Syntax
ViStatus ri3156b_set_sweep_time (ViSession instrHandle, ViReal64 sweepTime)
ViStatus ri3156b_query_sweep_time (ViSession instrHandle, ViReal64 sweepTime)
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.
sweepTime
ViReal64
Programs the sweep time parameter.
Valid range: 1.4E-6 to 40 (s)
Default: 1
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.