![Ceyear 1465 Series Скачать руководство пользователя страница 120](http://html1.mh-extra.com/html/ceyear/1465-series/1465-series_programming-manual_2584913120.webp)
4 Programming example
4.1 Basic operation example
113
4 Programming example
Basic operation example ................................................................................... 113
Advanced operation example ........................................................................... 117
4.1 Basic operation example
The following demonstrates the use of the VISA library to implement the basic programming of the
device, using C++ as an example.
VISA library ....................................................................................................... 113
Sample runtime environment ............................................................................ 114
Initialization and configuring default status ....................................................... 115
Sending set-up command ................................................................................. 116
Reading the status of the measuring device ..................................................... 116
4.1.1 VISA library
VISA is a general term of standard I/O function libraries and their related specifications. VISA library
function is a set of functions that can be easily recalled. Its core function enables you to control various
devices, regardless of their 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. By initializing the address string (―VISA resource string‖), a connection can be established
with a device that has a programmable port (LAN, USB, GPBI, RS-232, etc.)
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. Programming interfaces supported by the signal generator: GPIB, LAN,
and RS-232. The use of these interfaces in conjunction with VISA library and programming languages
allows remote control of the signal generator. Agilent I/O Library provided by Agilent for users is often
used as the underlying I/O library.
Figure 4.1 demonstrates the relationship between the program-controlled interface, the VISA library, the
programming language, and the signal generator, using the GPIB interface as an example.
Содержание 1465 Series
Страница 1: ...1465 series Signal Generator Programming Manual...
Страница 2: ......
Страница 5: ......
Страница 39: ......
Страница 127: ......