XT2640OperatingManual 13July2016 Page144of187
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELDDATA
RANGE
DESCRIPTION
VARPOL? ‐ ‐ ‐
RespondswiththeNR1VARpolaritysettingasVARispositive(0)or
negative(1)forleadingPF
24.4.8 MEASUREMENT STATECONTROL ANDQUERYCOMMANDS
ThesecommandswhichhaveaVDEFfieldwillraiseanerroriftheVDEFfielddefinesaVPAwhichisnotavailable.
COMMAND
KEYWORD
FIELD(s)
FIELD
FORMAT
FIELDDATA
RANGE
DESCRIPTION
CLRINRUSH ‐ ‐ ‐
Clearsallinrush(max.hold)measurementresults
Inrushresultsareinvaliduntilthenextmeasurementperiodcompletion
DATALOG s NR1 0or1 Setswhetherdataloggingistobestarted(s=1)orstopped(s=0)
DATALOG? ‐ ‐ ‐
Respondswithtwofieldsindicatingthepresentstateofdatalogging–
1
st
field(NR1)‐
0:nodataloggingactivityispresentlybeingperformed
1:performingdatalogging
2
nd
field(NR1)–
Thisfieldismaintainedafteradatalogisterminatedandisclearedto0whena
datalogisstarted.
0:Therehasbeennodataloggingerror
1:Dataloggingwasterminatedbecauseoffilesizelimitation(approx.4Gbytes)
2:Dataloggingwasterminatedbecausethedrivebecamefull
3:Dataloggingwasterminatedbecauseofadrivewriteerror
4:Datalogginghasterminatedbecausethedrivewasremoved
HISTORY s NR1 0or1
Stops(
=0)or(re)starts(
=1)historicaldatacollection,dataisclearedon
(re)starting
HISTORY? ‐ ‐ ‐
RespondswithNR1whetherhistoricaldatacollectionisbeingperformed(1)
ornot(0)
HOLD
NR1 0or1 Setswhethermeasurementsareheld(
=1)ornot(
=0)
HOLD? ‐ ‐ ‐ RespondswithNR1whethermeasurementsareheld(1)ornot(0)
INTEG s NR1 0or1
Stops(s=0)or(re)starts(s=1)integrateddatacollection,dataisclearedand
theconfigureddelayisinitiatedon(re)startingasapplicable
INTEG? ‐ ‐ ‐
RespondswithNR1indicatingthepresentstateofintegration–
0:integratedresultsarenotbeingupdated
1:integratedresultsaregoingtobeupdatedaftertheconfigureddelayhas
expired
2:integratedresultsareheldbecauseofmeasurementhold
3:integratedresultsarebeingupdated
MCR? ‐ ‐ ‐
RespondswiththeNR1MCR(MeasurementCompletionRegister)andclearsit
TheNR1isa32‐bitwordformedbythefollowinglogically‘or‐ed’bits(b0is
theLSbit)‐
b0through2:setifVPA1through3resp.havecompletedanon‐harmonic
measurement
b3:setifmotormeasurementshavebeencompleted
b8through10:setifVPA1through3resp.havecompletedaharmonic
measurement
b16:setifspectrummeasurementshavebeencompleted
Note:thisregisterisalsoclearedwhenanymeasurementconfigurationchange
ismadewiththeSAVECONFIGcommand.
SCOPE s NR1 0to2
Stops(s=0),startsasingle(s=1)orstartsacontinuous(s=2)scopeview
capture
Ifstarting(s=1ors=2)thenanypreviouslycapturedscopeviewdatais
cleared.
SCOPE? ‐ ‐ ‐
ReturnsthepresentstatusofscopeviewcaptureasaNR1asfollows–
0:Scopeviewcaptureisstopped(nodatahasbeencollected)
1:Scopeviewcaptureisstopped(datahasbeencollected)
2:Asinglescopeviewcaptureisinprogress(nodatahasbeencollected)
3:Continuousscopeviewcaptureisinprogress(nodatahasbeencollected)
4:Continuousscopeviewcaptureisinprogress(datahasbeencollected)
STBYRUN
v VDEF ‐
Stops(s=0)orstarts(s=1)astandbypowermeasurementinVPAv
s NR1 0or1
STBYSTATE? v VDEF ‐
ReturnsthepresentstateofstandbypowermeasurementinVPAvasaNR1as
follows‐
0:Nostandbymeasurementinprogressandnodataisavailable(none
hasbeenpreviouslyrun)
1:Thelaststandbymeasurementwasstoppedbytheoperatorand
dataisavailable
2:Thelaststandbymeasurementwasstoppednormallyanddatais
available
3:AEN505645.3.2dmeasurementisinprogressbutiswaitingforthe
startdetectionlevel(nodataisavailable).
4:AEN505645.3.2ameasurementisinprogressandiswithinthe
specifiedminimumtimeperiod(dataisavailable).