
3156B User Manual
Racal Instrument © 2005
Programming Reference 5-125
"ri3156B_error_message()" will return a string describing the error.
Ri3156b_set(query)_AM_mod_depth
Description
This programs the modulation depth for the amplitude modulation programs.
Channel Dependency: independent
C Syntax
ViStatus ri3156b_set_AM_mod_depth (ViSession instrHandle, ViReal64 AMModulationDepth)
ViStatus ri3156b_query_AM_mod_depth (ViSession instrHandle, ViReal64 * AMModulationDepth)
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.
AMModulationDepth
ViReal64
Programs the modulation depth for the amplitude
modulation.
Valid range: 0 to 100 (%)
Default: 50
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.