Enviar Comandos De Configuración Sencillos Del Instrumento; Cambiar A La Operación Manual; Consultar La Configuración Del Instrumento - Rohde & Schwarz FSVA Guia De Inicio Rapido

Analizador de señal yespectro
Tabla de contenido
®
R&S
FSVA/FSV
Public SUB PowerSave()
CALL InstrWrite(analyzer, "DISPlay:PSAVe:HOLDoff 1")
'Set response time to 1 minute
CALL InstrWrite(analyzer, "DISPlay:PSAVe ON")
'Switch on Power Save function
7.1.3
Enviar comandos de configuración sencillos del instru-
mento
Este ejemplo muestra cómo configurar la frecuencia central, el span y el nivel de
referencia del instrumento.
REM -------- Instrument setting commands -----------------------------------
PUBLIC SUB SimpleSettings()
CALL InstrWrite(analyzer, "FREQUENCY:CENTER 128MHz")
'Center frequency 128 MHz
CALL InstrWrite(analyzer, "FREQUENCY:SPAN 10MHZ")
'Set span to 10 MHz
CALL InstrWrite(analyzer, "DISPLAY:TRACE:Y:RLEVEL -10dBm")
'Set reference level to -10dBm
END SUB
REM ************************************************************************
7.1.4
Cambiar a la operación manual
REM -------- Switching instrument to manual operation ----------------------
CALL viGpibControlREN(analyzer, VI_GPIB_REN_ADDRESS_GTL)
'Set instrument to Local state
REM ************************************************************************
7.1.5
Consultar la configuración del instrumento
Es posible consultar los ajustes anteriormente realizados. Para ello, se utilizan
los comandos abreviados.
REM --------- Reading out instrument settings ------------------------------
PUBLIC SUB ReadSettings()
Dim retCount as Long
CFfrequency$ = SPACE$(20)
CALL InstrWrite(analyzer, "FREQ:CENT?")
'Request center frequency
CALL InstrRead(analyzer, CFfrequency$, 20, retCount)
'Read value
Guía de inicio rápido 1321.3066.10 ─ 03
Breve introducción al control remoto
Pasos básicos para la programación por control remoto
'Provide text variable (20 characters)
161
Tabla de contenido
loading

Este manual también es adecuado para:

Fsv

Tabla de contenido