User manual
Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-145
dmm.linesync
Usage
To read the linesync state:
value = dmm.linesync
To write the linesync state:
dmm.linesync = value
value: Set to one of the following:
dmm.ON or 1 to enable line sync
dmm.OFF or 0 to disable line sync
Remarks
This attribute is only valid when dmm.func = "dcvolts", "dccurrent", "twowireohms",
"fourwireohms", "temperature", "continuity", and "commonsideohms." All other
functions generate an error and return nil when queried.
Changing functions with dmm.func (on page 13-137) will reflect the line sync setting
for that function.
The factory default and dmm.reset() (on page 13-161) function value is dmm.OFF.
Enabling this attribute will synchronize a trigger to the main power line crossings.
Example
To enable line sync on "fourwireohms"
dmm.func = "fourwireohms"
dmm.linesync = dmm.ON
dmm.makebuffer()
Function
Creates a user buffer for storing readings.
Usage
mybuffer = dmm.makebuffer(buffersize)
buffersize: Maximum number of readings that can be stored.
Remarks
These reading buffers are allocated dynamically. This function creates the buffers
where buffersize indicates the maximum number of readings the buffer can store.
These buffers can be deleted by setting mybuffer to nil.