User`s guide
4 Agilent VISA User’s Guide
Closing a Session 37
Searching for Resources 37
Sending I/O Commands 40
Types of I/O 40
Using Non-Formatted I/O 44
Using Events and Handlers 46
Events and Attributes 46
Using the Callback Method 54
Using the Queuing Method 62
Trapping Errors 68
Trapping Errors 68
Exception Events 69
Using Locks 74
Lock Functions 74
viLock/viUnlock Functions 74
VISA Lock Types 75
4 Programming via GPIB and VXI
GPIB and VXI Interfaces Overview 80
General Interface Information 80
GPIB Interfaces Overview 81
VXI Interfaces Overview 84
GPIB-VXI Interfaces Overview 85
Using High-Level Memory Functions 88
Programming the Registers 88
High-Level Memory Functions: Sample Programs 90
Using Low-Level Memory Functions 94
Programming the Registers 94
Low-Level Memory Functions: Code Samples 97
Using Low/High-Level Memory I/O Methods 100