Other topics about Making Measurement
The averaging trigger function is used to execute the number of sweeps specified as the averaging factor with a single trigger when the sweep averaging function is used. When a trigger is given, the sweep count is cleared, the sweep is executed the number of times specified by the averaging count, and then the instrument goes into Hold status.
The setting of the averaging trigger function is valid for all channels. Note that you can set the sweep averaging function for each channel.
To toggle ON/OFF the averaging trigger function, use the following command:
:TRIG:AVERWhen the point trigger function is on, its setting has priority and the setting of the averaging trigger is ignored. More specifically, the required number of triggers is: number of measurement points in a single sweep x averaging factor.
When the averaging function is off for the active channel, the averaging trigger function does not work for the channel. When a trigger is given, the sweep is executed only once, and then the instrument goes into Hold status.
OPC? command can be used to detect end of measurement. o learn more, see SCPI.IEEE4882.OPC and Waiting for Trigger (OPC?).