XT2640OperatingManual 13July2016 Page142of187
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELDDATA
RANGE
DESCRIPTION
*ERR? ‐ ‐ ‐
RespondswiththeNR1ERRregistercontentsandclearstheregister
Responseisthehighesterrorencounteredsinceclearedandhasthefollowing
possiblevalues‐
0:Noerrorhasoccurred
1:Thecommandcannotnotbeexecutedatthistime
2:ThecontentorconfigurationoftheXT2640wasnotcompatiblewitha
command
3:Aninterfacecommandfieldwassyntacticallyvalidbutthedatawasoutof
thevalidrange
4:Aninterfacecommandfieldwassyntacticallyinvalid
5:Aninterfacecommandfieldwasexpectedbutnotfound
6:Aninterfacecommandfieldwasfoundbutnotexpected
7:Aninvalidinterfacecommandwasfound
8:Therequestedresponsedatacontainstoomanycharacters
9:Aresponsewasrequestedbutthepreviousresponsehasnotbeenread
10:ARxoverrunoccurred
*ESR? ‐ ‐ ‐
RespondswiththeNR1ESRregistercontentsandclearstheregister.
Theresponseformsasinglebytequantitywiththefollowinglogicalbit
meanings(b0istheLSbit)forotherthantheGPIBinterface‐
b0:Setifaninterfacecommanderroroccurred
b1:SetifaTxoverrunoccurred
ThisregisterhasadifferentformatfortheGPIBinterfaceasfollows‐
b0:Setbythe*OPCcommand(whichisonlyavailableintheGPIBinterface)
b3:Aqueryerrorhasoccurred
b4:acommandexecutionerroroccurred
b5:acommanderroroccurred
b7:setifapoweronhasoccurred(fortheXT2640thisisextendedtoalsobe
setwhentheGPIBinterfaceischangedfromdisabledtoenabled)
*OPC? ‐ ‐ ‐
RespondswiththeNR1OPCregistercontentsandclearstheregister
Theresponseformsasinglebytequantitywiththefollowinglogicalbit
meanings(b0istheLSbit)forotherthantheGPIBinterface‐
b0:Setifaninterfacecommanderrordidnotoccur
b1:Setifaninterfacecommandhadtoomanyortoofewfields
b2:Setifaninterfacecommandfieldsyntaxordatarangeerroroccurred
b3:Setifaninterfacecommandfieldwasnotcompatiblewiththecontentor
configuration
b4:SetifaTxoverrunoccurred
b5:SetifaRxoverrunoccurred
b6:Setifanunknowncommandwasreceived
TheresponsetothiscommandhasadifferentformatfortheGPIBinterfaceas
follows‐
TheresponseisalwaysaNR1havingvalue1
24.4.4 UNITANDCHANNELIDENTIFICATIONQUERYCOMMANDS
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELDDATA
RANGE
DESCRIPTION
CHNL? c CDEF ‐
Respondswithtwofieldsdescribingchannelc‐
1
st
field:(STRING)Twoletterchanneltype(orNFifnotfitted,orNIif
fittedbuthasinvaliddata)
2
nd
field:(NR1)SerialNumber
IDENT? ‐ ‐ ‐ RespondswiththeSTRINGidentitynameconfiguredforthisXT2640.
*IDN? ‐ ‐ ‐
RespondswithsixfieldsdescribingtheXT2640asfollows‐
1
st
field:(STRING)Manufacturer
2
nd
field:(STRING)Model(with/H500/ENappendediftherespective
optionisinstalled)
3
rd
field:(STRING)Unitserialnumber
4
th
field:(NR1)Firmwaremajorversionnumber
5
th
field:(NR1)Firmwareminorversionnumber
6
th
field:(NR1)Firmwarebuildnumber
24.4.5 GPIB SPECIFICCOMMANDS
Thecommandsinthetablebelowareonlyallowed,oronlyhaveausablefunctionality,whenreceivedviatheGPIBinterface.
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELDDATA
RANGE
DESCRIPTION
*WAI ‐ ‐ ‐ IntheXT2640thiscommandprovidesnofunctionbutisavalidcommand