
3156B User Manual
Programming Reference 5-18
Racal Instrument © 2005
The Common
Control Functions
Group
This group is used to control macro 3156B functions. These
commands set the instrument to its various operating, waveform and
run modes. Functions from this group also control the reference
source and the amplitude and offset settings of the instrument. Factory
defaults after reset are given as well. The communication session is
closed with the close function. Parameters range is given where
applicable.
Common Control Functions
3156B Function Name
Parameter(s)
Range
Default
ri3156B_set(query)_active_channel ViInt16
channel
1-2 1
ri3156B_set(query)_output
ViBoolean outputSwitch
0-1 (OFF, ON)
0
ri3156B_set(query)_enable
ViBoolean outputSwitch
0-1 (OFF, ON)
0
ri3156B_set(query)_enable_source ViInt16
enableSource
0-2 (SOFT, HARD,
MIX)
0
ri3156B_set(query)_amplitude
ViReal64 amplitude
10e-3 to 10
5
ri3156B_set(query)_offset ViReal64 offset
-4.995 to 4.995
0
ri3156B_set(query)_global_operating_mode ViInt16
ch1_waveformMode
0-5 (STD, ARB,
SEQ, MOD,
VIDEO, DIGITAL)
0
ViInt16 ch2_waveformMode
0-5 (STD, ARB,
SEQ, MOD,
VIDEO, DIGITAL)
0
ViInt16 CarrierRunMode
0-3 (CONT, TRIG,
GATE, BURST)
0
ViInt16 OperateEnableSource
0-1 (SOFT, HARD,
MIX)
0
ri3156B_set(query)_common_waveform_mode ViInt16
commonWaveformMode
0-5 (STD, ARB,
SEQ, MOD,
VIDEO, DIGITAL)
0
ri3156B_set(query)_waveform_mode ViInt16
waveformMode
0-5 (STD, ARB,
SEQ, MOD,
VIDEO, DIGITAL)
0
ri3156B_set(query)_carrier_run_mode ViInt16
CarrierRunMode
0-3 (CONT, TRIG,
GATE, BURST)
0
ri3156B_set(query)_modulation_mode ViInt16
modulationMode
0-5 (OFF, FM, AM,
FSK, SWEEP,
HOP) 0
ri3156B_set(query)_modulation_run_mode ViInt16
modulationRunMode
0-3 (CONT, TRIG,
GATE, BURST)
0
ri3156B_set(query)_digital_mode ViBoolean
digitalMode
0-1 (FREERUN,
STIMULUS) 0
ri3156B_set(query)_reference_oscillator ViInt16
referenceOscillator
0-1 (INT (CLK10 or
TCXO), EXT)
0