Using Programmatic Interfaces; Ivi-C Driver Functionality; Matlab Interface - Keysight Technologies N8241A User Manual

Arbitrary waveform generators
Table of Contents

Advertisement

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, IVI-4.3 IviFgen Class
Specification, and IVI-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 Help > 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 > Agilent > N8241A AWG > Matlab
click SAVE, then Close the Set Path window.
MATLAB can now execute all of the N8241A API functions.
Chapter 2
51

Advertisement

Table of Contents
loading

This manual is also suitable for:

N8242a

Table of Contents