EasyManua.ls Logo

XITRON XT2640 - Unit and Channel Identification Query Commands; GPIB Specific Commands

Default Icon
187 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
XT2640OperatingManual 13July2016 Page142of187
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELDDATA
RANGE
DESCRIPTION
*ERR? ‐ ‐ ‐
RespondswiththeNR1ERRregistercontentsandclearstheregister
Responseisthehighesterrorencounteredsinceclearedandhasthefollowing
possiblevalues‐
0:Noerrorhasoccurred
1:Thecommandcannotnotbeexecutedatthistime
2:ThecontentorconfigurationoftheXT2640wasnotcompatiblewitha
command
3:Aninterfacecommandfieldwassyntacticallyvalidbutthedatawasoutof
thevalidrange
4:Aninterfacecommandfieldwassyntacticallyinvalid
5:Aninterfacecommandfieldwasexpectedbutnotfound
6:Aninterfacecommandfieldwasfoundbutnotexpected
7:Aninvalidinterfacecommandwasfound
8:Therequestedresponsedatacontainstoomanycharacters
9:Aresponsewasrequestedbutthepreviousresponsehasnotbeenread
10:ARxoverrunoccurred
*ESR? ‐ ‐ ‐
RespondswiththeNR1ESRregistercontentsandclearstheregister.
Theresponseformsasinglebytequantitywiththefollowinglogicalbit
meanings(b0istheLSbit)forotherthantheGPIBinterface‐
b0:Setifaninterfacecommanderroroccurred
b1:SetifaTxoverrunoccurred
ThisregisterhasadifferentformatfortheGPIBinterfaceasfollows‐
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
b7:setifapoweronhasoccurred(fortheXT2640thisisextendedtoalsobe
setwhentheGPIBinterfaceischangedfromdisabledtoenabled)
*OPC? ‐ ‐ ‐
RespondswiththeNR1OPCregistercontentsandclearstheregister
Theresponseformsasinglebytequantitywiththefollowinglogicalbit
meanings(b0istheLSbit)forotherthantheGPIBinterface‐
b0:Setifaninterfacecommanderrordidnotoccur
b1:Setifaninterfacecommandhadtoomanyortoofewfields
b2:Setifaninterfacecommandfieldsyntaxordatarangeerroroccurred
b3:Setifaninterfacecommandfieldwasnotcompatiblewiththecontentor
configuration
b4:SetifaTxoverrunoccurred
b5:SetifaRxoverrunoccurred
b6:Setifanunknowncommandwasreceived
TheresponsetothiscommandhasadifferentformatfortheGPIBinterfaceas
follows‐
TheresponseisalwaysaNR1havingvalue1
24.4.4 UNITANDCHANNELIDENTIFICATIONQUERYCOMMANDS
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELDDATA
RANGE
DESCRIPTION
CHNL? c CDEF ‐
Respondswithtwofieldsdescribingchannelc‐
1
st
field:(STRING)Twoletterchanneltype(orNFifnotfitted,orNIif
fittedbuthasinvaliddata)
2
nd
field:(NR1)SerialNumber
IDENT? ‐ ‐ RespondswiththeSTRINGidentitynameconfiguredforthisXT2640.
*IDN? ‐ ‐ ‐
RespondswithsixfieldsdescribingtheXT2640asfollows‐
1
st
field:(STRING)Manufacturer
2
nd
field:(STRING)Model(with/H500/ENappendediftherespective
optionisinstalled)
3
rd
field:(STRING)Unitserialnumber
4
th
field:(NR1)Firmwaremajorversionnumber
5
th
field:(NR1)Firmwareminorversionnumber
6
th
field:(NR1)Firmwarebuildnumber
24.4.5 GPIB SPECIFICCOMMANDS
Thecommandsinthetablebelowareonlyallowed,oronlyhaveausablefunctionality,whenreceivedviatheGPIBinterface.
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELDDATA
RANGE
DESCRIPTION
*WAI ‐ ‐ IntheXT2640thiscommandprovidesnofunctionbutisavalidcommand

Table of Contents