XT2640OperatingManual 13July2016 Page153of187
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELDDATA
RANGE
DESCRIPTION
ize NR1 0to4
ize setsthetextsizeto12pix(
ize=0),16pix(
ize=1),22pix(
ize=2),28pix
(size=3)or36pix(size=4)
justsetsthehorizontaltextjustificationtoleft(just=0),centered(just=1)orright
(just=2)
coloursetsthetextcolour(R:G:Bvalues)
defsetsthemeasurementresulttobeshown(blankifnonerequired)
unitsselectswhethertoincludethemeasurementresultsunits(units=1)ornot
(units=0)
textsetsthetexttoinclude.Ifdefisdefinedthenuptothefirst5charactersoftext
areincludedtotheleftofthemeasurementresultotherwisethecellcontainsupto
thefirst60charactersoftext;ifnocharactersaretobeincludedinthecellthen
thetextfieldneednotbepresent
Ifbothdefandtextfieldsareblank(ornotincluded)thenonlytherandcfields
areused
ust NR1 0to2
colour COLOR ‐
def RDEF ‐
units NR1 0or1
text STRING
Upto60
characters
CUSTOM?
NR1 0to14
RespondswiththeCUSTOMcommandstringtorecreatecustomscreenrowrand
columnc
c NR1 0to3
SAVECUSTOM ‐ ‐ ‐ Savesthepresentcustomscreeninternallyandmakesanychangesactive
24.4.15 MEASUREMENTRESULTSQUERY COMMANDS
ThesecommandswhichhaveaVDEFfieldwillraiseanerroriftheVDEFfielddefinesaVPAwhichisnotavailable.
ThesecommandswhichhaveaCDEFfieldwillraiseanerroriftheCDEFfielddefinesachannelwhichisnotinstalled.
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELDDATA
RANGE
DESCRIPTION
CYCLEVIEW?
c CDEF ‐ Respondswiththe512datapointsofcycleviewdataforchannel
voltage(
=V),
current(s=A)orpower(s=W)waveforms
Thedatapointscorrespondtophasesofthefundamentalstartingat0°andthenat
successive(360/512)°increments.
Eachdatapointcontainstwofieldsasfollows–
1
st
field:NR1indicatingifthisdatapointhasavaliddata(1)ornot(0)
2
nd
field:NR3indicatingthelevelatthisdatapoint
Note–theresponseisalargenumberofcharacters(approximately7K)andisa
totalof1024fields.Notalldatapointsmaybevalid,interpolatebetweenvaliddata
pointsasappropriate.
s KEYWORD VorAorW
HARMLIST?
i KEYWORD VorAorW
RespondswithoneNR3harmonicamplitudeforthevoltageinput(i=V)orcurrent
input(i=A)orpower(i=W)ofchannelcforeachharmonicstartingwiththestart
harmonicuptoandincludingtheendharmonic(thefundamentalisharmonic1).
c CDEF ‐
start NR1 1to500
end NR1
tart to500
HISTORYDATA?
n NR1 2to1024 Respondswithndatapointsofhistoricaldatadefinedbydef,startingathistorical
datacollectiontimestartandendingatend(bothinsecondsrelativetothetimeat
whichhistoricaldatacollectionwaslaststarted)
Eachdatapointisfourfieldsasfollows–
1
st
field:NR1indicatingifthisdatapointcontainsdata(1)ornot(0)
2
nd
field:NR3indicatingthemaximumdatarecorded
3
rd
field:NR3indicatingtheaveragedatarecorded
4
th
field:NR3indicatingtheminimumdatarecorded
Note–theresponsecanbeaverylargenumberofcharacters(upto38.9K)and
fields(upto4096).
start NR3 ≥0.0
end NR3 >start
def DDEF ‐
HISTORYTIME? ‐ ‐ ‐
RespondswithanNR3indicatingthelengthoftimecoveredbythepresent
historicaldata(inseconds)
HLIMITFAIL?
c CDEF ‐ RespondswithaNR1indicatingifharmonich(h>0)orallharmonics(h=0)forthe
voltage(i=V)orcurrent(i=A)ofchannelcispassing(respondswith0)orfailing
(respondswith1)
Note–aharmonicwhichhasnolimitorisnotbeingmeasuredisconsideredas
passing
i KEYWORD VorA
h NR1 0to500
LEADING? srce KEYWORD
CH1,CH2,
CH3,CH4,A1,
A2,A3,VPA1,
VPA2,orVPA3
RespondswithaNR1indicatingiftheselecteddatasource(srce)hasaleadingPF
(respondswith1)orlaggingPF(respondswith0)
srceiseither‐
A1toA3:selectsVPA1to3asthedatasource
VPA1toVPA3:selectsVPA1to3asthedatasource
CH1toCH4:selectschannel1tochannel4asthedatasource
MAXHARMS? v VDEF ‐ RespondswithaNR1indicatingthenumberofharmonicsbeingmeasuredinVPAv
READ? ≥1fields RDEF ‐
Respondswiththerequestedmeasurementresult(s).Youmayspecifyanynumber
ofresultstobeobtainedinasingleREAD?commandaslongasthecommandis
withintheallowablemaximumnumberofcharactersinacommandsetandthe
responsegeneratedislessthanthemaximumnumberofcharactersinaresponse.
REREAD? ‐ ‐ ‐
RespondswiththemeasurementresultsdefinedbythelastreceivedREAD?
command.
Note–thisistypicallyusedwhenalargenumberofresultsaretoberepeatedly
requestedandaslowinterface(e.g.USBorRS232)isbeingused.Sendingthe
READ?commandonceandthenrepeatingbyusingtheREREAD?command
achieveshigherthroughputbecauseofthereductionincharactersrequired.When
usingtheLANinterfacethereistypicallyverylittledifferenceiftheREREAD?
commandisusedvsusingtheREAD?Command.