3156B User Manual
Racal Instrument © 2005
Programming Reference 5-65
Ri3156b_set(query)_exponential_wave_exponent
Description
Programs only the exponent of the standard exponential wave. This function does NOT select the exponential
wave as the active waveform. Note: The frequency, amplitude, and offset may be varied by using the following
functions:
ri3156B_set_frequency()
ri3156B_set_amplitude()
ri3156B_set_offset()
You may set all exponential wave parameters at once, by using the ri3156B_apply_exponential_wave()
function, or by using the individual functions.
Channel Dependency: Independent
C Syntax
ViStatus ri3156b_set_exponential_wave_exponent (ViSession instrHandle, ViInt16 exponent)
ViStatus ri3156b_query_exponential_wave_exponent (ViSession instrHandle, 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.
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.