CONFigure?
Syntax
CONFigure? [(@<ch_list>)]
Description
This command returns the present configuration on the specified channels and returns a series of quoted strings. If you omit the optional <ch_list> parameter, this command applies to the internal DMM, independent of any channels or a scan list.
Used With:
34921A through 34925A Multiplexer Modules
34950A Digital I/O Module (digital I/O and counter channels only)
34952A Multifunction Module (digital I/O and totalizer channels only)
34959A Breadboard Module (digital I/O channels only)
Parameters
Name |
Type |
Range of Values |
Default Value |
<ch_list> |
Numeric |
One or more channels in the form (@sccc). |
If <ch_list> is omitted, this command applies to the internal DMM. |
Remarks
If you omit the optional <ch_list> parameter, the configuration applies to the internal DMM, independent of any channels or a scan list (any existing scan list is not redefined).
If the internal DMM is not installed or is disabled, then no DMM-related configurations are allowed. However, scanning is allowed on the digital input and totalizer channels even without the internal DMM.
The *RST command will clear the scan list and set all measurement parameters to their factory settings. The Instrument Preset (SYSTem:PRESet command) will not clear the scan list; however, this command will clear reading memory and all stored statistical data.
Return Format
The command returns a series of comma-separated fields indicating the present function, range, and resolution for the specified channels. Multiple responses are separated by commas. The short form of the function name is always returned (e.g., "CURR:AC", "FREQ", etc.).
Example: Multiplexer Channel
Example: Digital I/O Channel
Example: Totalizer Channel
Examples
The following program segment configures multiplexer channels 3 and 8 in slot 1 and then reads back the configuration (the quotes are also returned).
CONF:RES 1000,1,(@1003)
CONF:TEMP THER,5000,1,0.1,(@1008)
CONF? (@1003,1008)
Typical Response: "RES +1.00000000E+03,+1.00000000E-01","TEMP THER,5000,+1.00000000E+00,+1.00000000E-04"
The following program segment configures Bank 1 on the 34952A in slot 3 for two 16-bit words, configures the channels for output operations, and then reads back the configuration.
CONF:DIG:WIDTH WORD,(@3001,3003)
CONF:DIG:DIR OUTP,(@3001,3003)
CONF? (@3001,3003)
Typical Response: "DIG OUTP WORD","DIG OUTP WORD"
The following query returns the present configuration on the internal DMM (no <ch_list> is specified).
CONF?
Typical Response: "VOLT +1.000000E+01,+3.000000E-05"