3156B User Manual
Programming Reference 5-68
Racal Instrument © 2005
Ri3156b_apply_exponential_wave
Description
Programs frequency, amplitude, offset, and exponent of exponential wave function. Also sets the exponential
waveform as the active waveform. Channel Dependency: Independent
C Syntax
ViStatus ri3156b_apply_exponential_wave (ViSession instrHandle, ViReal64 frequency, ViReal64 amplitude,
ViReal64 offset, ViInt16 exponent)
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.
frequency
ViReal64
Programs the frequency for the selected function
Valid range: 0.01 to 25e6 (Hz)
Default: 1e6
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
exponent
ViInt16
Selects the exponent for the exponential wave function.
Valid range: -100 to 100
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.