XT2640 Operating Manual
13 July 2016
Page 143 of 187
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELD
DATA
RANGE
DESCRIPTION
*ESE
m
NR1
0 to 255
This command sets the value of the ESE register and has the same format as
for the ESR register response used for the XT2640 GPIB interface‐
b0: Set by the *OPC command (which is only available in the GPIB interface)
b3: A query error has occurred
b4: a command execution error occurred
b5: a command error occurred
This register provides a mask for the ESR register to set b5 of the STB register
if an enabled bit of the ESR register becomes set
*ESE?
‐
‐
‐
Responds with the present NR1 contents of the ESE register
*OPC
‐
‐
‐
Sets b0 of the ESR register
*SRE
m
NR1
0 to 255
Sets the SRE register and has the following format‐
b0: set to allow STB b0 to cause an SRQ
b4: set to allow STB b4 to cause an SRQ
b5: set to allow STB b5 to cause an SRQ
*SRE?
‐
‐
‐
Responds with the present NR1 contents of the SRE register
*STB?
‐
‐
‐
Responds with the NR1 contents of the STB register as follows‐
b0: set if a enabled bit in the MCR register is set
b4: set if a response is available from the XT2640
b5: set if a enabled bit in the ESR register is set
b6: set according to the MSS bit required by IEEE488.2
*TST?
‐
‐
‐
Responds with an NR1 value of 0 always and performs no other function
MCE
m
NR1
varied
Sets the value of the MCE register which enables the respective bits of the MCR
register (see the MCR? command) to set b0 of the STB register
MCE?
‐
‐
‐
Responds with the present NR1 contents of the MCE register
24.4.6
DATE
AND
TIME
CONTROL
AND
QUERY
COMMANDS
It may take up to 500ms for a change in date and/or time to become apparent in the display or in interface query commands.
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELD
DATA
RANGE
DESCRIPTION
DATE
d
NR1
1 to 31
Sets the date (
d
), month (
m
) and year (
y
)
m
NR1
1 to 12
y
NR1
0 to 99
DATEFMT
f
NR1
0 or 1
Sets MDY (
f
=0) or DMY (
f
=1) displayed date format
DATE?
‐
‐
‐
Responds with the STRING format present date (as selected format)
E.g. DD/MM/YYYY
TIME
h
NR1
0 to 23
Sets the hour (
h
, 24 hour format), minute (
m
) and second (
s
). The
s
field is optional.
m
NR1
0 to 59
s
NR1
0 to 59
TIMEFMT
f
NR1
0 or 1
Sets 24 hour (
f
=0) or 12 hour (
f
=1) displayed time format
TIME?
‐
‐
‐
Responds with the STRING format present time (as selected format)
E.g. HH:MM:SSam
24.4.7
SYSTEM
PREFERENCES
SET
AND
QUERY
COMMANDS
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELD
DATA
RANGE
DESCRIPTION
AUTOZERO
s
NR1
0 or 1
Sets that environmental tracking of DC zeroes is enabled (
s
=1) or disabled
(
s
=0)
AUTOZERO?
‐
‐
‐
Responds with the NR1 DC zero environment tracking setting –
0: Environment tracking is disabled
1: Environment tracking is enabled
FREQSPEED
s
NR1
0 to 2
Sets that the response speed to frequency changes is fast (
s
=0), normal (
s
=1)
or slow (
s
=2)
FREQSPEED?
‐
‐
‐
Responds with the NR1 frequency change response speed is fast (0), normal
(1) or slow (2)
PHASEPREF
s
NR1
0 to 7
Sets the PHASE preference setting according to the NR1 value of
s
as follows
(see 12.3.1.6 for full details)‐
0: Math, ‐180 to +180° range, CW = increasing phase on the vectors chart
1: Math, ‐180 to +180° range, CCW = increasing phase on the vectors chart
2: Math, 0 to 360° range, CW = increasing phase on the vectors chart
3: Math, 0 to 360° range, CCW = increasing phase on the vectors chart
4: Delay, ‐180 to +180° range, CW = increasing phase on the vectors chart
5: Delay, ‐180 to +180° range, CCW = increasing phase on the vectors chart
6: Delay, 0 to 360° range, CW = increasing phase on the vectors chart
7: Delay, 0 to 360° range, CCW = increasing phase on the vectors chart
PHASEPREF?
‐
‐
‐
Responds with the NR1 value of the PHASEPREF setting as described above.
SUMVA
s
NR1
0 or 1
Sets the VA/VAR total method as VAR is summed, VA is calculated (
s
=0) or
VA is summed, VAR is calculated (
s
=1).
SUMVA?
‐
‐
‐
Responds with the NR1 VA/VAR total method as VAR is summed and VA is
calculated (0) or VA is summed and VAR is calculated (1).
VARPOL
s
NR1
0 or 1
Sets the VAR polarity as VAR is positive (
s
=0) or negative (
s
=1) for leading
PF