![Saluki S3602 Series Скачать руководство пользователя страница 262](http://html2.mh-extra.com/html/saluki/s3602-series/s3602-series_user-manual_3674132262.webp)
Tel: 886.2.2175 2930 Email: [email protected]
www.salukitec.com
262
Reading of frequency marker
Reading of trace data
Command synchronization
9.3.1.
VISA Library
VISA is a general term of the standard I/O function library and related standards. The VISA library is a set of functions which can be
called easily called. The core function can be used to control various kinds of devices, regardless of the interface type and I/O interface
software operations. The function library is used to write the instrument drive program and complete command and data transmission
between the computer and instrument to realize the programmed control of the instrument. The instrument connection with the
program-controlled port (LAN, USB, GPIB, RS-232, etc.) can be established by initializing the address character string ("VISA resource
string").
The VISA library must be installed at first for remote control. The VISA library includes the transmission functions of the bottom VXI,
GPIB, LAN and USB interface to facilitate direct calling. The vector network analyzer supports the following programmed interfaces:
GPIB, LAN and RS-232. Such interfaces are used with the VISA library and programming languages to remotely control the vector
network analyzer. At present, AgilentI/OLibrary provided by Agilent is commonly used as the bottom I/O library.
Fig. 9.10 shows the relationship between the programmed interface, VISA library, programming language and vector network analyzer,
with GPIB interface as an example.
Fig. 9.10 Programming Software and Hardware Layer
9.3.2.
Initialization and Default State Setting
Initialize the VISA resource manager at the beginning of programming. Open the VISA library and establish the communication
connection between the VISA library and instrument. Specific steps are as follows.
9.3.2.1.
Generation of Global Variables
At first, generate global variables to be called by other program modules, such as instrument handle variables. The following global
variables are included in the program example.
ViSession analyzer;
ViSession defaultRM;