Programming
R&S
®
CMW-B400B/-B405A
48
User Manual 1176.8116.02 ─ 04
5.1.2 General Measurement Settings
// *****************************************************************************
// Configure general measurement settings, independent of the signal type:
// single shot measurement, no stop condition, block DC component, disable
// autoranging and define maximum expected level.
// *****************************************************************************
CONFigure:AUDio:MEAS:ANALog:REPetition SING
CONFigure:AUDio:MEAS:ANALog:SCONdition NONE
CONFigure:AUDio:MEAS:ANALog:PCOupling AC
CONFigure:AUDio:MEAS:ANALog:ARANging OFF
CONFigure:AUDio:MEAS:ANALog:MLEVel 5
5.1.3 Single Tone Measurement
The following example configures all settings specific for a single tone measurement,
starts the audio generator, starts the audio measurement and queries the measure-
ment results.
// *****************************************************************************
// Select single tone as signal type and couple the generator to a measurement.
// *****************************************************************************
SOURce:AUDio:GEN:ANALog:STYPe SINGletone
SOURce:AUDio:GEN:ANALog:ACOupling ANAL
// *****************************************************************************
// Configure the single tone frequency and level.
// *****************************************************************************
SOURce:AUDio:GEN:ANALog:SINGletone:FREQuency 10000
SOURce:AUDio:GEN:ANALog:SINGletone:LEVel 3
// *****************************************************************************
// Configure the statistic count of the measurement.
// *****************************************************************************
CONFigure:AUDio:MEAS:ANALog:SINGletone:SCOunt 10
// *****************************************************************************
// Query the used distortion frequency (should be 10000).
// *****************************************************************************
CONFigure:AUDio:MEAS:ANALog:SINGletone:FILTer:DFRequency?
// *****************************************************************************
// Configure a window function for the spectrum measurement and enable the
// spectrum measurement.
// *****************************************************************************
CONFigure:AUDio:MEAS:ANALog:SINGletone:FILTer:WFUNction BHAR
CONFigure:AUDio:MEAS:ANALog:SPECtrum:DMODe ON
// *****************************************************************************
Audio Measurement and Generator Scenario
深圳德标仪器
135-1095-0799