
Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-81
dmm.configure.query
Remarks
This function will list the settings contained within the specified configuration, myconfig,
along with the corresponding DMM attributes contained within that configuration. A nil
response is generated if the specified configuration does not exist, along with an error
message stating the referenced name does not exist. The second parameter,
myseparator, is optional. If not specified, the attributes are comma delimited within the
config response. However, if specified, then the attributes will be delimited by this
2-character separator. If more than 2 characters are specified, an error message (string
is too long) is generated. To query the factory default settings for a function, use the
desired function for the myconfig parameter. Valid default functions are:
"dcvolts"
"acvolts"
"dccurrent"
"accurrent‖
"twowireohms"
"fourwireohms"
"temperature"
"frequency"
"period"
"continuity"
"commonsideohms"
"nofunction"
To query for the settings associated with the active function then call this function with
the myconfig para
meter set to ―active‖.
Also see
dmm.configure.catalog
(on page 9-79)
dmm.configure.set
(on page 9-82)
dmm.configure.delete
(on page 9-79)
dmm.configure.recall
(on page 9-81)
Example
To see the DMM attributes within MyDcv separated by commas:
MyDcvItems = dmm.configure.query("MyDcv")
print(MyDcvItems)
To see the DMM attributes within MyDcv separated by newlines:
MyDcvItems = dmm.configure.query("MyDcv", "\n")
print(MyDcvItems)
To see the factory default settings for DC volts separated by newlines:
FactoryDCV = dmm.configure.query("dcvolts", "\n")
print(FactoryDCV)
To see the DMM attributes for the active function separated by newlines:
ActiveFunc = dmm.configure.query("active", "\n")
print(ActiveFunc)