4 Programming example
4.1 Basic operation example
100
4 Programming example
Basic Operation Examples....................................................................................100
Advanced Operation Examples.............................................................................105
4.1 Basic operation example
The basic methods for programming of remote control of the instrument through the VISA library are
illustrated hereinafter. Take the C++ language as an example.
VISA library
………………………………………………………………………………100
Example Running Environment.....................................................................
Initialization and Default Status Setting.................................................................102
Sending of Setting Commands
.............................................................................103
Reading of Instrument State...........................................................................
Reading of Markers.....................................................................................
Command synchronization
4.1.1 VISA library
The VISA is a general term of the standard I/O function library and its relevant specifications. VISA
library functions are a set of functions that can be called conveniently, and its core functions can control
various devices, without considering the device interface types and the usage of different I/O interface
software. These library functions are used to write the driver of the instrument as well as complete the
command and data transmission between the computer and the instrument, so as to realize the remote
control of the instrument. The instruments with remote interfaces (LAN, USB, GPIB and RS-232) can be
connected through initializing the addressing string (“VISA Resource String”).
At first, it is necessary to install the VISA library so as to achieve remote control. The VISA library
packages the underlying transfer functions of underlying VXI, GPIB, LAN and USB interfaces so that the
user can recall them directly. APIs supported by the noise factor analyzer: GPIB, LAN, and RS-232. The
use of these interfaces in conjunction with VISA library and programming languages allows remote
control of the noise figure analyzer. The Keysight I/O Library provided by Keysight for users is often used
as the underlying I/O library.
Figure 4.1 shows the relationship among remote interface, VISA library, programming language, and the
noise figure analyzer by taking GPIB interface as an example.
Содержание 3986 Series
Страница 1: ...3986 Series Noise Figure Analyzer Programming Manual...
Страница 4: ......
Страница 8: ...3986 Series noise figure analyzer Table of Contents 4...
Страница 107: ...3 SCPI 3 3 Instrument specific Commands 99...
Страница 119: ...4 Programming example 4 2 Advanced operation example 111...