
Chapter 2
51
Basic Operation
Using Programmatic Interfaces
Using Programmatic Interfaces
IVI-C Driver Functionality
The IVI Foundation’s class driver specification for function generators has been the
model for the features in the N8241A and N8242A AWGs. This includes the
recommended method to incorporate attributes for instrument-specific functions.
Please refer to
IVI-3.15 IviLxiSync Specification
, I
VI-4.3 IviFgen Class
Specification
, and I
VI-3.1 Driver Architecture Specification
for more information.
These can be found at:
www.ivifoundation.org/Downloads/Specifications.htm
A set of API Functions and Attributes can be found in the N8241A Help system. Go
to:
Start
>
Programs
>
Agilent
>
N8241A
>
Help
or from the application menu bar
Help
>
N8241A Online Help
MATLAB Interface
MATLAB is one of the programmatic interfaces supported by the N8241A and
N8242A AWGs. Use the set of API functions to configure and play waveforms with
the AWG. A complete list of the API functions can be found in the N8241A Control
Utility in the Help menu. Go to:
Help
>
N8241A Hel
p >
Programming
>
MATLAB API
.
To set up MATLAB for connectivity, while in the MATLAB environment, go to:
File
>
Set Path
>
Add with Subfolders...
navigate to your local drive and go to where your program files are stored. The
default is:
Program Files
>
Agilen
t >
N8241A AWG
>
Matlab
click
SAVE
, then
Close the Set Path
window.
MATLAB can now execute all of the N8241A API functions.
Summary of Contents for N8241A
Page 8: ...7...
Page 9: ...8...
Page 33: ...34 Chapter 1 Introducing the N8241 2A AWGs Maintenance...
Page 64: ...Chapter 2 65 Basic Operation Using Programmatic Interfaces...
Page 65: ...66 Chapter 2 Basic Operation Using Programmatic Interfaces...
Page 76: ...Chapter 3 77 Theory of Operation Waveform Playback Figure 3 3 Waveform Play Flow Chart...
Page 91: ...92 Chapter 3 Theory of Operation Multiple Module Synchronization...
Page 109: ...110 Chapter 5 Direct Digital Synthesis Option 330 Theory of Operation Figure 5 7 DDS...