3156B User Manual
Programming Reference 5-72
Racal Instrument © 2005
Ri3156b_set(query)_arb_sampling_freq_range
Description
Proper setting of sample clock frequency range is essential for correct programming of the arbitrary waveform
mode as it defines if incremental size of the waveform can be set with 1 or 2 points. The 3156B has two sample
clock ranges 100MS/s and 200 MS/s. If you use waveform files that their size is divisible by 2, then you can use
the 3156B with sample clock rates to 200 Ms/s. Waveform file that has an odd number of points can be used
with sample clock rates to 100 MS/s only.
Channel Dependency: Common
C Syntax
ViStatus ri3156b_set_arb_sampling_freq_range (ViSession instrHandle, ViBoolean samplingClockRange)
ViStatus ri3156b_query_arb_sampling_freq_range (ViSession instrHandle, ViBoolean *
samplingClockRange)
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.
samplingClockRange
ViBoolean Programs the sample clock range for the 3156B.
Valid range: 0,1
0 – 1S/s to 200MS/s
1 – 1S/s to 100MS/s
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.