User`s guide
4 Agilent VISA User’s Guide
Closing a Session 40
Searching for Resources 40
Sending I/O Commands 43
Types of I/O 43
Using Formatted I/O 43
Using Non-Formatted I/O 54
Using Events and Handlers 57
Events and Attributes 57
Using the Callback Method 65
Using the Queuing Method 74
Trapping Errors 80
Trapping Errors 80
Exception Events 82
Using Locks 87
Lock Functions 87
viLock/viUnlock Functions 87
VISA Lock Types 88
4 Programming via GPIB and VXI
GPIB and VXI Interfaces Overview 94
General Interface Information 94
GPIB Interfaces Overview 95
VXI Interfaces Overview 98
GPIB-VXI Interfaces Overview 99
Using High-Level Memory Functions 102
Programming the Registers 102
High-Level Memory Functions: Sample Programs 105
Using Low-Level Memory Functions 108
Programming the Registers 108
Low-Level Memory Functions: Code Samples 111