![Rohde & Schwarz NRT 1080.9506.02/.62 Operating Manual Download Page 181](http://html.mh-extra.com/html/rohde-and-schwarz/nrt-1080-9506-02-62/nrt-1080-9506-02-62_operating-manual_1477860181.webp)
NRT
Programming Examples
1080.9506.02
D.3
E-6
Annex D.5
Reading out Device Settings
The settings made in the example of Annex D.Annex D.3 are read out here. The abbreviated
commands are used.
REM -------------------------- Read out device settings -------------------------
CALL IECOUT("FREQ?")
’Request frequency settings,
CALL IECIN(CRfrequency$)
’input value.
CALL IECOUT("INP1:PORT:SOUR:AUTO?")
’Request definition of forward
’direction,
CALL IECIN(Direction$)
’input value.
CALL IECOUT("INP1:PORT:POS?")
’Request def. of reference plane,
CALL IECIN(Measpos$)
’input value.
CALL IECOUT("SENS1:POW:REF?")
’Request reference value of
’forward power,
CALL IECIN(Reference$)
’input value.
CALL IECOUT("SENS1:FUNC:STAT? ’POW:FORW:AVER’")’Request status of average
’measurement,
CALL IECIN(FunctionState$)
’input value.
CALL IECOUT("UNIT1:POW:REL?")
’Request relative unit,
CALL IECIN(Unit$)
’input value.
CALL IECOUT("UNIT1:POW:REL:STAT?")
’Request unit status,
CALL IECIN(UnitState$)
’input value.
REM -------------------------- Display values on screen --------------------------
PRINT "CR frequency:"; CRfrequency$
PRINT "Forward direction:"; Direction$
PRINT "Reference plane:"; Measpos$
PRINT "Reference value:"; Reference$
PRINT "Status for average measurement:"; FunctionState$
PRINT "Relative unit:"; Unit$
PRINT "Relative unit active:"; UnitState$
REM********************************************************************************
Annex D.6
Performing a measurement
REM -------------------------- Example for performing a measurement -------------
CALL IECOUT("SENS1:FUNC:CONC OFF")
’Only one measuring function can
’be active.
CALL IECOUT("SENS1:FUNC ’POW:FORW:AVER:BURS’") ’Switch on average burst measurement
’function.
REM -------------------------------- Perform measurements -----------------------
NumberMeasurements% = 10
FOR I% = 0 TO NumberMeasurements%
CALL IECOUT("SENS1:DATA? ’POW:FORW:AVER:BURS’") ’Request result arrived
’last.
CALL IECIN(Result$)
’Call result.
REM -------------------------- Display Result -----------------------------------
PRINT "Result"; I%; ": "; Result$
NEXT I%
REM********************************************************************************
深圳德标仪器
135-1095-0799
Summary of Contents for NRT 1080.9506.02/.62
Page 2: ...深圳德标仪器 135 1095 0799 ...
Page 4: ...深圳德标仪器 135 1095 0799 ...
Page 6: ...深圳德标仪器 135 1095 0799 ...
Page 16: ...深圳德标仪器 135 1095 0799 ...
Page 18: ...深圳德标仪器 135 1095 0799 ...
Page 178: ...深圳德标仪器 135 1095 0799 ...
Page 190: ...深圳德标仪器 135 1095 0799 ...