8588A/8558A
Remote Programmer's Manual
12
Query Commands
All the command forms above configure the device. Use Query commands to
read back information from the device. For example, this command returns the
status of the display:
DISPlay?
The response will be either 1 or 0.
Note
Although either ON|OFF or 1|0 are used as alternative forms of
Boolean data when sending, the Boolean data response to a query
command is always 1 or 0.
Some query commands have one or more parameters. The MEASure command
configures the Product and returns a measurement. The MEASure? command is
in this form:
MEASure[:SCALar]:<meter_fn>? [<parameters>]
The square brackets indicate that the parameters are optional. The Product
always returns Scalar values so [:SCALar] is always superfluous. If there are
more than one parameter, they are separated by commas. An example of a
DMM command with two optional numeric parameters:
MEASure:VOLTage:DC? [<
range
>MIN|MAX|DEF[,<
resolution
>|MIN|MAX|DEF]]
The square brackets show that these commands will be accepted by the DMM.
MEASure:VOLTage:DC? 10,MAX Sets DCVolts, 10 V range and maximum resolution
MEASure:VOLTage:DC? 10
Sets DCVolts, 10 V range and leaves resolution
unchanged.
MEASure:VOLTage:DC?
Sets DCVolts and leaves range and
resolution unchanged.
MEASure:VOLTage:DC? MAX
Will be interpreted as set DCV range to
maximum, do not change resolution.
The rule for optional parameters is that they must be omitted from right to left.
That is, starting with the inner square brackets and working outwards.