Using the Computer Interface
Computer Interface Command Set
4
4-33
Table 4-8. Command and Query Reference (cont)
For temperature functions, the "range" is a thermocouple type (J, K, E, T,
N, R, S, B, C) or DIN/IEC 751 RTD (PT).
Use of any other value causes an Execution Error.
<terminals> = 2 (2-terminal)
4 (4-terminal)
Specification of terminals is necessary when the function type is OHMS
or when an RTD temperature measurement is being defined. When this
field is called for, a value must be supplied, or a Command Error is
generated. Defining a 4-terminal channel (1 through 10) automatically
sets the additional channel (11 through 20) to OFF.
If a value is supplied in this field when it is not necessary, a Command
Error is generated. An Execution Error is generated if values other than 2
or 4 are used.
FUNC? Channel Function Query
Return the function for the indicated channel.
FUNC? <channel>
<channel> = (0 .. 20)
If the channel indicated is invalid, an Execution Error is generated. For
valid channels, two or three comma-separated data fields are returned.
One of the following function definitions is returned in the first data field:
TEMP, VAC, VDC, OHMS, FREQ, OFF
For a 4-terminal configuration, two channels are used. For the lower
channel, the instrument responds to FUNC? with OHMS or TEMP in the
first field. For the upper channel (lower channel +10), the instrument
responds with OFF in the first field.
The second data field indicates the range when a function has been
chosen. If the channel is set up to autorange, AUTO is returned. If the
function is TEMP, the thermocouple/RTD_type is returned in this field. If
the function is OFF, there is no range data returned.
If the type is OHMS or RTD-temperature, a third field is included to
indicate the number of terminals used. See the Channel Function
Definition (FUNC) command for a definition of the data returned for the
range and number-of-terminals fields.
IEE Instrument Event Enable
Sets the Instrument Event Enable Register to the given value.
IEE <value>
<value> = (0 .. 255)
This is a mask for the Instrument Event Register and is the first step in
determining which conditions may issue an SRQ. The mask selects
which conditions may set the Instrument Event Bit of the Status Byte. If
the value is not in the range 0 to 255, an Execution Error is generated.