EasyManuals Logo
Home>Agilent Technologies>Measuring Instruments>E4448A

Agilent Technologies E4448A User Manual

Agilent Technologies E4448A
434 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 #340 background imageLoading...
Page #340 background image
340 Chapter 5
Programming Fundamentals
Programming in C Using the VTL
Programming Fundamentals
The following is an example of opening a device session with the GPIB
device at primary address23.
ViSession defaultRM, vi;
.
.
viOpenDefaultRM (&defaultRM);
viOpen (defaultRM, "GPIB0::23::INSTR", VI_NULL,VI_NULL,&vi);
.
.
viClose(vi);
viClose (defaultRM);
Closing a Session
The viClose function must be used to close each session. You can close
the specific device session, which will free all data structures that had
been allocated for the session. If you close the default resource manager
session, all sessions opened using that resource manager will be closed.
Since system resources are also used when searching for resources
(viFindRsrc) or waiting for events (viWaitOnEvent), the viClose
function needs to be called to free up find lists and event contexts.

Table of Contents

Other manuals for Agilent Technologies E4448A

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies E4448A Specifications

General IconGeneral
BrandAgilent Technologies
ModelE4448A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals