
R&S FSQ
Brief Introduction to Remote Control
Detailed Programming Examples
7.12
Quick Start Guide 1313.9652.62 - 02
7.2 Detailed Programming Examples
7.2.1 Default Settings of the R&S FSQ
The following settings provide typical examples of how to change the default settings of the
R&S FSQ.
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.
7.2.1.1 Setting the IEC Bus Status Registers
REM ************************************************************************
Public Sub SetupStatusReg()
Dim status As ViStatus
Dim retCnt As Long
REM ------ IEEE 488.2 status register --------------------------------------
status = viWrite(analyzer, "*CLS", 4, retCnt)
'Reset status registers
status = viWrite(analyzer, "*SRE 168", 8, retCnt)
'Enable Service Request for STAT:OPER-, STAT:QUES- and ESR-Register
status = viWrite(analyzer, "*ESE 61", 7, retCnt)
'Set event enable bit for: operation complete command-, execution-,device
'dependent- and query error
REM ------ SCPI status register --------------------------------------------
status = viWrite(analyzer, "STAT:OPER:ENAB 0", 16, retCnt)
'Disable OPERation Status Register
status = viWrite(analyzer, "STAT:QUES:ENAB 0", 16, retCnt)
'Disable QUEStionable Status Register
End Sub
REM ************************************************************************
Содержание FSQ series
Страница 1: ...R S FSQ Signal Analyzer Quick Start Guide Quick Start Guide Test Measurement 1313 9652 62 02 ...
Страница 28: ...R S FSQ 0 4 Quick Start Guide 1313 9652 62 02 ...
Страница 50: ...R S FSQ Front and Rear Panel Rear Panel Connections 1 22 Quick Start Guide 1313 9652 62 02 ...
Страница 110: ...R S FSQ Basic Operation Setting Parameters 4 12 Quick Start Guide 1313 9652 62 02 ...
Страница 209: ...Quick Start Guide 1313 9652 62 02 R S FSQ Appendix Appendix ...
Страница 210: ...Quick Start Guide 1313 9652 62 02 R S FSQ Appendix ...
Страница 220: ...R S FSQ Appendix Installing Non Plug Play Printers A 10 Quick Start Guide 1313 9652 62 02 ...