CALCulate:AVERage:PTPeak?
CALCulate:AVERage:PTPeak?
Syntax
CALCulate:AVERage:PTPeak? [(@<ch_list>)]
Description
This query returns the peak to peak value (maximum minus minimum) found on each of the specified channels during the scan. Each channel should be a multiplexer, digital or totalizer channel that has been configured to be part of the scan list. If it is not part of the scan list, no error will be generated, but the value returned will be a meaningless value of 0.
Parameters
Name Type Range of Values Default Value <ch_list> Channel list One or more channels, as shown:
(@310) - channel 10 on the module in slot 300.
(@305:310) - channels 05 through 10 on the module in slot 300.
(@202:207,209,302:308) - channels 02 through 07 and 09 on the module in slot 200 and channels 02 through 08 on the module in slot 300.
If you omit the optional <ch_list> parameter, this command applies to the currently defined scan list.
Remarks
- You can read the values at any time, even during a scan. An error is generated if the internal DMM is disabled (see INSTrument:DMM command) or not installed in the mainframe.
- The calculation starts when the internal DMM is triggered. The instrument clears the stored statistical data on all channels when a new scan is started, when the CALCulate:AVERage:CLEar command is executed, after a Factory Reset (*RST command), or after an Instrument Preset (SYSTem:PRESet command).
Return Format
The query returns a number in the form "+2.61920000E+01". Multiple responses are separated by commas. If no data is available for the specified channels, it returns +0.00000000E+00.
Example
The following query returns the peak to peak values found on channels 05 through 08 on the module in slot 100.
CALC:AVER:PTP? (@105:108)
Typical Response: +3.13830293E+01,+1.98732123E+01,9.38293055E+00,1.20393822E+01
See Also
CALCulate Subsystem Introduction