3156B User Manual
Programming Reference 5-70
Racal Instrument © 2005
Ri3156b_apply_exponential_wave
Description
Programs frequency, amplitude, offset, and exponent of dc function. Also sets the dc waveform as the active
waveform. Channel Dependency: Independent
C Syntax
ViStatus ri3156b_apply_dc_signal (ViSession instrHandle, ViReal64 frequency, ViReal64 amplitude, ViReal64
offset, ViReal64 percentAmplitude)
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.
percentAmplitude
ViReal64
Selects the percent level for the dc function.
Valid range: -100 to 100
Default: 100
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.