Quick Start Guide 1302.6163.62 - 04
7.9
R&S ESU
Brief Introduction to Remote Control
Detailed Programming Examples
REM ***********************************************************************
7.1.6.1 Reading Output Buffers
REM -------- Subroutine for the individual STB bits -----------------------
Public SUB Outputqueue()
'Reading the output queue
Dim status As ViStatus
Dim retCnt As Long
result$ = Space$(100)
'Create space for response
status = viRead(analyzer, result$, 100, retCnt)
Print "Contents of Output Queue : "; result$
END SUB
REM ***********************************************************************
7.1.6.2 Reading Error Messages
REM ------- Subroutine for evaluating the error queue ---------------------
Public SUB ErrorQueueHandler()
Dim status As ViStatus
Dim retCnt As Long
sError$ = Space$(100)
'Subroutine for evaluating the error queue
status = viWrite(analyzer, "SYSTEM:ERROR?", 13, retCnt)
status = viRead(analyzer, sError$, 100, retCnt)
Print "Error Description : "; sError$
END SUB
REM ***********************************************************************
7.2 Detailed Programming Examples
7.2.1 Default Settings of the R&S ESU
The following settings provide typical examples of how to change the default settings of the
R&S ESU.
Note that only some of the settings are necessary depending on the application example. In
many cases, it is not necessary to set resolution bandwidth, video bandwidth and sweep time
since these parameters are automatically calculated in the default setting when the span is
changed. Likewise, the input attenuation is automatically calculated in the default setting as a
function of the reference level. Last of all, the level detectors are linked to the selected trace
mode in the default setting.
The settings automatically calculated in the default setting are indicated with an asterisk (*) in
the following program example.
Summary of Contents for esu
Page 26: ...R S ESU Contents 6 Quick Start Guide 1302 6163 62 04 ...
Page 28: ......
Page 32: ...R S ESU 0 4 Quick Start Guide 1302 6163 62 04 ...
Page 88: ...R S ESU Preparing for Use Operating System Properties 2 38 Quick Start Guide 1302 6163 62 04 ...
Page 104: ...R S ESU Basic Operation Setting Parameters 4 12 Quick Start Guide 1302 6163 62 04 ...
Page 201: ...Quick Start Guide 1302 6163 62 04 R S ESU Appendix Appendix ...
Page 202: ...Quick Start Guide 1302 6163 62 04 R S ESU Appendix ...