![Rohde & Schwarz NRT 1080.9506.02/.62 Скачать руководство пользователя страница 180](http://html.mh-extra.com/html/rohde-and-schwarz/nrt-1080-9506-02-62/nrt-1080-9506-02-62_operating-manual_1477860180.webp)
Programming Examples
NRT
1080.9506.02
D.2
E-6
i% = INSTR(temp$, CHR$(&HA))
’Search NL
read$ = LEFT$(temp$, i% - 1)
’and discard the rest.
END SUB
REM -------------------------- Output on IEC-bus ---------------------------------
SUB IECOUT (out$)
wrt$ = out$ + CHR$(&HD) + CHR$(&HA)
CALL IBWRT(sensor%, wrt$)
REM*******************************************************************************
END SUB
REM*******************************************************************************
Annex D.2.3
Initialize the Instrument
The IEC-bus status registers and instrument settings of the NRT are brought into the default status.
REM -------------------------- Initialize the instrument --------------------------
REM InitDevice
CALL IECOUT("*CLS")
’Reset status registers,
CALL IECOUT("*RST;*WAI")
’Reset the instrument.
REM********************************************************************************
Annex D.3
Sending Device Setting Commands
The correction frequency is set in this example. Moreover, the sensor connectors are configured, the
sensor is set to automatic recognition of the forward direction and the measurement is to be performed
on the load side of the sensor. The average of the power is selected as measured quantity. The incident
power is displayed in units of percent and is referred to a value of 25 Watt.
REM -------------------------- Device setting commands --------------------------
CALL IECOUT("SENS1:FUNC:CONC OFF")
’Non-concurrent functions
CALL IECOUT("SENS1:FREQUENCY 250E6")
’Frequency 250 MHz,
’Automatic Recognition of
’forward direction,
CALL IECOUT("INPUT1:PORT:SOURCE:AUTO ON")
’Reference plane on load side.
CALL IECOUT("INPUT1:PORT:SOURCE:POSITION LOAD")
CALL IECOUT("SENSE1:POWER:REFERENCE 25W")
’Reference power 25W,
’Switch on average measurement.
CALL IECOUT("SENSE1:FUNCTION:ON ’POWER:FORWARD:AVERAGE’")
’Forward units: %.
CALL IECOUT("UNIT1:POWER:RELATIVE PCT;REL:STATE ON")
REM********************************************************************************
Annex D.4
Switchover to Manual Control
REM -------------------------- Switch instrument to manual control ----------------
CALL IBLOC(sensor%)
’Set instruments to local state.
REM********************************************************************************
深圳德标仪器
135-1095-0799
Содержание NRT 1080.9506.02/.62
Страница 2: ...深圳德标仪器 135 1095 0799 ...
Страница 4: ...深圳德标仪器 135 1095 0799 ...
Страница 6: ...深圳德标仪器 135 1095 0799 ...
Страница 16: ...深圳德标仪器 135 1095 0799 ...
Страница 18: ...深圳德标仪器 135 1095 0799 ...
Страница 178: ...深圳德标仪器 135 1095 0799 ...
Страница 190: ...深圳德标仪器 135 1095 0799 ...