EasyManuals Logo
Home>Agilent Technologies>Test Equipment>N9310A

Agilent Technologies N9310A User Manual

Agilent Technologies N9310A
188 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #158 background imageLoading...
Page #158 background image
152 N9310A User’s Guide
6 Subsystem Command Reference
Programming in C using the VTL
This section includes some basic information about
programming in the C language using Agilent VISA transition
library (VTL). Note that some of this information may not be
relevant to your particular application. For example, if you
are not using VXI instruments, the VXI references will not
be relevant.
Typical Example Program Contents
The following table summaries the VTL function calls used in
the example programs.
visa.h This file is included at the beginning of the
each file to provide the function prototypes
and constants defined by VTL. For C and
C++ programs, you must include the visa.h
header file at the beginning of every file that
contains VISA function calls:
#include “visa.h”
ViSession The ViSession is a VTL data type. Each
object that will establish a communication
channel must be defined as ViSession.
Sessions must firstly be opened on the
default resource manager, and then for each
resource you will be using.
viOpenDefaultRM You must first open a session with the
default resource manager with the
viOpenDefaultRM function, and then for
each resource you will be using. This
function will initialize the default resource
manager and return a pointer to that
resource manager session.
viOpenDefaultRM(&sesn)

Table of Contents

Other manuals for Agilent Technologies N9310A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies N9310A and is the answer not in the manual?

Agilent Technologies N9310A Specifications

General IconGeneral
BrandAgilent Technologies
ModelN9310A
CategoryTest Equipment
LanguageEnglish

Related product manuals