Sign In
Upload
Manuals
Brands
Agilent Technologies Manuals
Software
E2094S
Agilent Technologies E2094S Manuals
Manuals and User Guides for Agilent Technologies E2094S. We have
1
Agilent Technologies E2094S manual available for free PDF download: User Manual
Agilent Technologies E2094S User Manual (147 pages)
for IO Libraries Suite 15.5
Brand:
Agilent Technologies
| Category:
Software
| Size: 1.24 MB
Table of Contents
Safety Notices
2
Technology Licenses
2
Trademark Information
2
Table of Contents
3
Introduction
7
What’s in this Guide?
8
VISA Overview
9
Using VISA, VISA COM, and SICL
9
VISA Support
10
VISA Documentation
10
Agilent VISA Documentation
10
Contacting Agilent
12
Building a VISA Application in Windows
13
Building a VISA Program (C/C++)
14
Compiling and Linking VISA Programs (C/C++)
14
Linking to VISA Libraries
14
Microsoft Visual C++ Version 6.0 Development Environment
14
Sample VISA Program (C/C++)
15
Sample C/C++ Program Source Code
15
Microsoft Visual Studio .NET
15
Agilent Technologies,54622A,987654312,A.01.50
16
C/C++ Sample Program Contents
17
Summary of VISA Function Calls Used in the C/C++ Sample
17
Building a VISA Program (Visual Basic)
18
Visual Basic Programming Considerations
18
Required Module for a Visual Basic VISA Program
18
Adding the Visa32.Bas File to Your Project
18
Format Conversion Commands
19
Numeric Arrays
19
Sample VISA Program (Visual Basic)
20
Strings
20
Steps to Running the Program
20
Sample Program Source Code
21
Sample Program Contents
23
Summary of VISA Function Calls in Visual Basic Sample
23
Logging Error Messages
25
Using the Event Viewer
25
Using the Debug Window
25
Programming with VISA
27
Resource Classes Supported by Agilent VISA
28
VISA Resources and Attributes
28
VISA Attributes
29
Example: Reading a VISA Attribute
29
Using Sessions
30
Including the VISA Declarations File (C/C++)
30
Adding the Visa32.Bas File (Visual Basic)
30
Opening a Session
31
Resource Manager Sessions
31
Resource Sessions
31
Parameters Used in Function Calls
32
Addressing a Session
33
Description of Parameters
34
Examples of Valid VISA Addresses
35
Closing a Session
37
Searching for Resources
37
Definitions of Parameters
38
Determining What to Use for the Expr Parameter
38
Example: Searching the VXI Interface for Resources
39
Sending I/O Commands
40
Types of I/O
40
Using Formatted I/O
41
Formatted I/O Conversion
41
Formatted I/O Buffers
42
Example: Sending and Receiving Formatted I/O
43
Using Non-Formatted I/O
44
Non-Formatted I/O Functions
44
Example: Using Non-Formatted I/O Functions
44
Using Events and Handlers
46
Events and Attributes
46
Event Notification
46
Events that Can be Enabled
47
Instrument Control (INSTR) Resource Events
47
Vi_Event_Trig
48
Vi_Event_Io_Completion
48
Vi_Event_Usb_Intr
49
Memory Access (MEMACC) Resource Event
50
GPIB Bus Interface (INTFC) Resource Events
50
VXI Mainframe Backplane (BACKPLANE) Resource Events
52
TCPIP Socket (SOCKET) Resource Event
53
Using the Callback Method
54
Example: Using the Callback Method
54
Installing Handlers
55
Parameters Used to Install a Handler
55
Writing the Handler
56
Enabling Events
56
Description of Parameters Used to Install a Handler
57
Example: Enabling a Hardware Trigger Event
57
Example: Trigger Callback
58
Example: SRQ Callback
60
Using the Queuing Method
62
Example: Using the Queuing Method
63
Descriptions of Parameters Used to Enable Events
64
Wait on the Event
64
Trapping Errors
68
Exception Events
69
Exception Handling Model
70
Using the VI_EVENT_EXCEPTION Event
71
Example: Exception Events
71
Using Locks
74
Lock Functions
74
Vilock/Viunlock Functions
74
VISA Lock Types
75
Example: Exclusive Lock
76
Example: Shared Lock
77
Programming Via GPIB and VXI
79
GPIB and VXI Interfaces Overview
80
General Interface Information
80
What Is an I/O Interface?
80
VXI Device Types
80
GPIB Interfaces Overview
81
Example: GPIB (82350) Interface
82
GPIB Interface (82350 PCI GPIB Cards)
82
VXI Interfaces Overview
84
Example: VXI (E8491B) Interfaces
84
GPIB-VXI Interfaces Overview
85
VXI Interface (E8491B IEEE-1394 to VXI Module)
85
GPIB-VXI (E1406A) Interfaces
86
Using High-Level Memory Functions
88
Programming the Registers
88
Summary of High-Level Memory Functions
88
Using Viin and Viout
89
High-Level Memory Functions: Sample Programs
90
Using Low-Level Memory Functions
94
Programming the Registers
94
Mapping Memory Space
95
VISA Vimapaddress Function
95
Reading and Writing to Device Registers
96
Unmapping Memory Space
96
Low-Level Memory Functions: Code Samples
97
Using Low-Level Vipeek/Vipoke
100
High-Level Viin/Viout
100
High-Level Vimovein/Vimoveout
100
Using Low/High-Level Memory I/O Methods
100
Using High-Level Viin/Viout
101
Using High-Level Vimovein/Vimoveout
101
Sample: Using VXI Memory I/O
102
Using the Memory Access Resource
106
Memory I/O Services
106
High-Level Memory I/O Services
106
Low-Level Memory I/O Services
106
Sample: MEMACC Resource Program
107
MEMACC Attribute Descriptions
109
Generic MEMACC Attributes
109
Attributes that Provide General Interface Information
109
VXI and GPIB-VXI Specific MEMACC Attributes
110
GPIB-VXI Specific MEMACC Attributes
111
MEMACC Resource Event Attribute
112
Attributes that Provide Specific Address Information
112
Using VXI-Specific Attributes
113
Settings for the VI_ATTR_WIN_ACCESS Attribute
113
Using the Map Address as a Pointer
113
Sample: Determining Window Mapping
114
Setting the VXI Trigger Line
114
VXI Trigger Lines and Values
115
Programming Via LAN
117
Client/Server Model
118
Direct LAN Connection Versus Remote IO Server/Client Connection
118
Remote IO Server/Client Architecture
118
Gateway Operation
119
LAN and Remote Interfaces Overview
118
Addressing LAN-Connected Devices
121
Using the TCPIP Interface Type for LAN Access
121
Example TCPIP Resource Strings
122
Using a Remote Interface for LAN Access
124
Remote Serial Interface (ASRL VISA LAN Client)
124
Remote GPIB Interface (GPIB VISA LAN Client)
124
Remote USB Interface (USB VISA LAN Client)
125
Addressing a Session Using a Remote Interface
125
Programming Via USB
127
USB Interfaces Overview
128
Summary of Full-String Viopen Call
129
Communicating with a USB Instrument Using VISA
129
Glossary
131
Index
145
Advertisement
Advertisement
Related Products
Agilent Technologies E6701A
Agilent Technologies E5071C
Agilent Technologies EasyEXPERT
Agilent Technologies E2050
Agilent Technologies E2650A
Agilent Technologies E2960B Series
Agilent Technologies E2259A
Agilent Technologies E2609B
Agilent Technologies E2730A
Agilent Technologies E2969A
Agilent Technologies Categories
Measuring Instruments
Laboratory Equipment
Test Equipment
Water Pump
Power Supply
More Agilent Technologies Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL