VTI Instruments Corporation
102
VM2710A Command Dictionary
FORMat
Purpose
Sets the measurement data format.
Type
Setting
Command Syntax
FORMat <format>
Command Parameters
<format> = decimal or C string
*RST Value
C string - exponential format: %e
Query Syntax
FORMat?
Query Parameters
N/A
Query Response
C string format
Description
The Format command sets the data format for the voltage, current, and resistance
measurement functions. The format parameter can be entered as a decimal number or a
C string which sets the measurement reading format; a format query always returns a C
string. The default setting is exponential format. For the decimal format, the range is
[0-4].[0-9] (i.e., the maximum value allowed is 4.9)
Examples
Command / Query
Response (Description)
FORM 1.4
(Sets the data format to decimal #.####, at least 1 digit
before and 4 digits after the decimal.)
FORM?
#15%6.4F
(The measurement data format is decimal,
but the format query still returns a C string.
A
voltage
measurement of 12.3456789 would read: 12.3457 (only
4 digits after the decimal). Also note that the last digit
has been rounded.)
FORM #16%10.2E
FORM?
#16%10.2E
(A voltage measurement of 12.3456789
would read: 12.3E+001.)
*RST
FORM?
#12%E
(The default is a C string in exponential format.
A voltage measurement of 12.3456789 would read:
1.001 (the default precision is 6. Note that
the “7” has been rounded to an “8”.)
Related Commands
N/A