XT2640OperatingManual 13July2016 Page143of187
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELDDATA
RANGE
DESCRIPTION
*ESE m NR1 0to255
ThiscommandsetsthevalueoftheESEregisterandhasthesameformatas
fortheESRregisterresponseusedfortheXT2640GPIBinterface‐
b0:Setbythe*OPCcommand(whichisonlyavailableintheGPIBinterface)
b3:Aqueryerrorhasoccurred
b4:acommandexecutionerroroccurred
b5:acommanderroroccurred
ThisregisterprovidesamaskfortheESRregistertosetb5oftheSTBregister
ifanenabledbitoftheESRregisterbecomesset
*ESE? ‐ ‐ ‐ RespondswiththepresentNR1contentsoftheESEregister
*OPC ‐ ‐ ‐ Setsb0oftheESRregister
*SRE m NR1 0to255
SetstheSREregisterandhasthefollowingformat‐
b0:settoallowSTBb0tocauseanSRQ
b4:settoallowSTBb4tocauseanSRQ
b5:settoallowSTBb5tocauseanSRQ
*SRE? ‐ ‐ ‐ RespondswiththepresentNR1contentsoftheSREregister
*STB? ‐ ‐ ‐
RespondswiththeNR1contentsoftheSTBregisterasfollows‐
b0:setifaenabledbitintheMCRregisterisset
b4:setifaresponseisavailablefromtheXT2640
b5:setifaenabledbitintheESRregisterisset
b6:setaccordingtotheMSSbitrequiredbyIEEE488.2
*TST? ‐ ‐ ‐ RespondswithanNR1valueof0alwaysandperformsnootherfunction
MCE m NR1 varied
SetsthevalueoftheMCEregisterwhichenablestherespectivebitsoftheMCR
register(seetheMCR?command)tosetb0oftheSTBregister
MCE? ‐ ‐ ‐ RespondswiththepresentNR1contentsoftheMCEregister
24.4.6 DATEANDTIMECONTROL AND QUERYCOMMANDS
Itmaytakeupto500msforachangeindateand/ortimetobecomeapparentinthedisplayorininterfacequerycommands.
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELDDATA
RANGE
DESCRIPTION
DATE
d NR1 1to31
Setsthedate(d),month(m)andyear(y)m NR1 1to12
y NR1 0to99
DATEFMT f NR1 0or1 SetsMDY(f=0)orDMY(f=1)displayeddateformat
DATE? ‐ ‐ ‐
RespondswiththeSTRINGformatpresentdate(asselectedformat)
E.g.DD/MM/YYYY
TIME
h NR1 0to23
Setsthehour(h,24hourformat),minute(m)andsecond(s).Thes
fieldisoptional.
m NR1 0to59
s NR1 0to59
TIMEFMT
NR1 0or1 Sets24hour(
=0)or12hour(
=1)displayedtimeformat
TIME? ‐ ‐ ‐
RespondswiththeSTRINGformatpresenttime(asselectedformat)
E.g.HH:MM:SSam
24.4.7 SYSTEMPREFERENCESSETANDQUERYCOMMANDS
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELDDATA
RANGE
DESCRIPTION
AUTOZERO s NR1 0or1
SetsthatenvironmentaltrackingofDCzeroesisenabled(s=1)ordisabled
(s=0)
AUTOZERO? ‐ ‐ ‐
RespondswiththeNR1DCzeroenvironmenttrackingsetting–
0:Environmenttrackingisdisabled
1:Environmenttrackingisenabled
FREQSPEED s NR1 0to2
Setsthattheresponsespeedtofrequencychangesisfast(
=0),normal(
=1)
orslow(s=2)
FREQSPEED? ‐ ‐ ‐
Responds withtheNR1frequencychangeresponsespeedisfast(0),normal
(1)orslow(2)
PHASEPREF s NR1 0to7
SetsthePHASEpreferencesettingaccordingtotheNR1valueofsasfollows
(see12.3.1.6forfulldetails)‐
0:Math,‐180to+180°range,CW=increasingphaseonthevectorschart
1:Math,‐180to+180°range,CCW=increasingphaseonthevectorschart
2:Math,0to360°range,CW=increasingphaseonthevectorschart
3:Math,0to360°range,CCW=increasingphaseonthevectorschart
4:Delay,‐180to+180°range,CW=increasingphaseonthevectorschart
5:Delay,‐180to+180°range,CCW=increasingphaseonthevectorschart
6:Delay,0to360°range,CW=increasingphaseonthevectorschart
7:Delay,0to360°range,CCW=increasingphaseonthevectorschart
PHASEPREF? ‐ ‐ ‐ RespondswiththeNR1 valueofthePHASEPREFsettingasdescribedabove.
SUMVA s NR1 0or1
SetstheVA/VARtotalmethodasVARissummed,VAiscalculated(s=0)or
VAissummed,VARiscalculated(s=1).
SUMVA? ‐ ‐ ‐
RespondswiththeNR1VA/VARtotalmethodasVARissummedandVAis
calculated(0)orVAissummedandVARiscalculated(1).
VARPOL s NR1 0or1
SetstheVARpolarityasVARispositive(s=0)ornegative(s=1)forleading
PF