3156B User Manual
Programming Reference 5-88
Racal Instrument © 2005
Ri3156b_apply_sequence_waveform
Description
Programs the generator to output a sequence of waveforms. This command lets you specify sampling clock,
amplitude, offset and advance mode. It also sets sequence to be the active waveform mode. You cannot use
this function to load waveforms to the sequence table.
Channel Dependency: Independent
C Syntax
ViStatus ri3156b_apply_sequence_waveform (ViSession instrHandle, ViReal64 samplingClock, ViReal64
amplitude, ViReal64 offset, ViInt16 sequenceMode)
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.
samplingClock
ViReal64
Programs the sample clock frequency for the 3156B.
Valid range: 1 to 200e6 (S/s)
Default: 50e6
amplitude
ViReal64
Programs the amplitude for the selected function
Valid range: 10e-3 to 10 (V, into 50
Ω
)
Default:5
offset
ViReal64
Programs the offset for the selected function
Valid range: -4.995 to 4.995 (V, into 50
Ω
)
Default: 0
sequenceMode
ViInt16
Selects the sequence advance mode.
Valid range: 1 to 2
0 – defines AUTO
1 – defines STEP
2 – defines SINGLE
Default: 0