
3156B User Manual
Programming Reference 5-128
Racal Instrument © 2005
Ri3156b_set(query)_dig_pattern_rate_range
Description
Depending on the minimum pattern size and resolution, Freerun digital patterns have two rate ranges: 1pps to
50Mpps and 1pps to 100Mpps. The two ranges are characterized as follows:
1pps to 50Mpps can generate patterns that have odd number of patterns and minimum number of patterns is 1;
1pps to 100Mpps generate patterns that have even number of patterns and minimum number of patterns is 2.
Channel Dependency: Common
C Syntax
ViStatus ri3156b_set_dig_pattern_rate_range (ViSession instrHandle, ViInt16 digitalPatternRateRange)
ViStatus ri3156b_query_dig_pattern_rate_range (ViSession instrHandle, ViInt16 * digitalPatternRateRange)
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.
digitalPatternRateRange
ViInt16
Programs the freerun digital patterns rate range
Valid range: 0, 1
0 – selects the 1pps to 100Mpps range
1 – selects the 1pps to 50Mpps range
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.