User manual

Series 3700 System Switch/Multimeter Reference Manual Section 6: Relative, Math, and dB
3700S-901-01 Rev. C / July 2008 6-9
Scanning
When a scan is configured, each channel can have its own unique math setup.
For remote programming, the <ch_list> parameter is used to configure
channels for a scan.
Example:
To perform the reciprocal math operation on DC volt measurements, send the
following commands:
-- Select DC volts function.
dmm.func = 'dcvolts'
-- Reset DC volts only.
dmm.reset('active')
-- Set the math operation to be reciprocal for
measurements.
dmm.math.format = dmm.MATH_RECIPROCAL
-- Enable the math operation for measurements.
dmm.math.enable = dmm.ON
-- Call the configuration mymath.
dmm.configure.set('mymath')
-- Set Channels 1001 to 1030 to use the mymath
configuration.
dmm.setconfig('1001:1030', 'mymath')
-- Create scan list of channels 1001 to 1030 using mymath.
scan.create('1001:1030')