Closing An Instrument Session; Visa Data Types And Selected Constant Definitions - Agilent Technologies 8163A Programming Manual

Lightwave multimeter lightwave measurement system lightwave multichannel system
Hide thumbs Also See for 8163A:
Table of Contents

Advertisement

The Agilent 816x VXIplug&play Instrument Driver
168
• ViBoolean id_query: a Boolean flag which indicates if in-system
verification should be performed.
Passing VI_TRUE (1) will perform an in-system verification; passing
VI_FALSE (0) will not.
If you set id_query to false, you can use the generic functions of the
instrument driver with other instruments.
• ViBoolean reset: a Boolean flag which indicates if the instrument
should be reset when it is opened.
Passing VI_TRUE (1) will perform a reset when the session is opened;
passing VI_FALSE (0) will not perform a reset,
• ViPSession instrumentHandle: a pointer to an instrument session.
InstrumentHandle is the handle which addresses the instrument, and is
the first parameter passed in all driver functions.
Successful completion of this function returns VI_SUCCESS

Closing an Instrument Session

Sessions (instrumentHandle) opened with the hp816x_init()
function are closed with the function:
hp816x_close( ViSession instrumentHandle);
When no further communication with an instrument is required, the
session must be explicitly closed (hp816x_close() function).
VISA does not remove sessions unless they are explicitly closed. Closing
the instrument session frees all data structures and system resources
allocated to that session.
VISA Data Types and Selected
Constant Definitions
The driver functions use VISA data types. VISA data types are identified
by the Vi prefix in the data type name (for example, ViInt16,
ViUInt16, ViChar).
The file visatype.h contains a complete listing of the VISA data types,
function call casts and some of the common constants.
Agilent 8163A Lightwave Multimeter, Agilent 8164A Lightwave Measurement System,
& Agilent 8166A Lightwave Multichannel System, Third Edition
Closing an Instrument Session

Advertisement

Table of Contents
loading

This manual is also suitable for:

8164a8166a

Table of Contents