R&S ESU
Brief Introduction to Remote Control
Detailed Programming Examples
7.16
Quick Start Guide 1302.6163.62 - 04
status = viWrite(analyzer, "DISP:WIND:TRAC:Y:RLEV -20dBm", 28, retCnt)
'Reference level
status = viWrite(analyzer, "INIT;*WAI", 9, retCnt)
'Perform sweep with sync
REM ------ Setting the reference point -------------------------------------
status = viWrite(analyzer, "CALC:MARK:PEXC 6DB", 18, retCnt)
'Define peak excursion
status = viWrite(analyzer, "CALC:MARK:STAT ON", 17, retCnt)
'Activate marker 1
status = viWrite(analyzer, "CALC:MARK:TRAC 1", 16, retCnt)
'Set marker 1 to trace 1
status = viWrite(analyzer, "CALC:MARK:MAX", 13, retCnt)
'Set marker 1 to 100 MHz
status = viWrite(analyzer, "CALC:DELT:FUNC:PNO ON", 21, retCnt)
'Define reference point for phase noise
REM ------ Measuring the phase noise ---------------------------------------
status = viWrite(analyzer, "CALC:DELT:X 10kHz", 17, retCnt)
'Position delta marker
status = viWrite(analyzer, "CALC:DELT:FUNC:PNO:RES?", 23, retCnt)
'Query phase noise result
status = viRead(analyzer, result$, 100, retCnt)
Print "Phase Noise [dBc/Hz]: "; result$
REM ------ Measuring the noise ---------------------------------------------
status = viWrite(analyzer, "CALC:MARK:X 99.96MHz", 20, retCnt)
'Position marker 1
status = viWrite(analyzer, "CALC:MARK:FUNC:NOIS:RES?", 24, retCnt)
'Query and output result
status = viRead(analyzer, result$, 100, retCnt)
Print "Noise [dBm/Hz]: "; result$
END SUB
REM ************************************************************************
7.2.3 Reading Out Trace Data
In the following example, the trace data obtained with the default setting is read from the
instrument and displayed in a list on screen. Readout occurs first in binary format and then in
ASCII format, once with the span > 0 and once with the span = 0.
In binary format, the header of the message with the length specification is evaluated and used
to calculate the x axis values.
In ASCII format, merely the list of level values is output.
Binary data is read out in three steps:
1. The number of digits in the length specification is read out.
2. The length specification itself is read out.
3. The trace data itself is read out.
Содержание esu
Страница 1: ...R S ESU EMI Test Receiver Quick Start Guide Quick Start Guide Test Measurement 1302 6163 62 04 ...
Страница 26: ...R S ESU Contents 6 Quick Start Guide 1302 6163 62 04 ...
Страница 28: ......
Страница 32: ...R S ESU 0 4 Quick Start Guide 1302 6163 62 04 ...
Страница 88: ...R S ESU Preparing for Use Operating System Properties 2 38 Quick Start Guide 1302 6163 62 04 ...
Страница 104: ...R S ESU Basic Operation Setting Parameters 4 12 Quick Start Guide 1302 6163 62 04 ...
Страница 175: ...Quick Start Guide 1302 6163 62 04 6 33 R S ESU LAN Interface Manual Operation of the R S ESU with XP Remote Desktop ...
Страница 178: ...R S ESU LAN Interface Manual Operation of the R S ESU with XP Remote Desktop 6 36 Quick Start Guide 1302 6163 62 04 ...
Страница 201: ...Quick Start Guide 1302 6163 62 04 R S ESU Appendix Appendix ...
Страница 202: ...Quick Start Guide 1302 6163 62 04 R S ESU Appendix ...