Dec 12, 2016 - I have an Agilent E4400B and I am trying to connect it up to some of the Keysight lab software. There is an application called 'Keysight. Jun 24, 2016 Connection Expert 17.1 Issue. Question asked by Zeid on Aug 4, 2015 Latest reply on Jun 24, 2016 by BattleTek. If that doesn't work, send me an email at [[email protected]] and we can dig a little deeper to get you moving again Alan Copeland Lead Connectivity Support Engineer Keysight Technologies 1 person found this helpful.
Read Waveforms from a Keysight® M9210A Digitizer using the IVI-C Driver
This example shows how to acquire a waveform from both channels of a Keysight technologies M9210A digitizer using an IVI-C driver, and display it in MATLAB. Instrument Control Toolbox™ software supports communication with instruments through IVI drivers. For a complete list of hardware supported, visit the Instrument Control Toolbox™ supported hardware page.
Introduction
This example has been tested on Microsoft® Windows 7 and Windows XP Systems. Agilent IO Suite and MD1 IVI driver version 1.2.2.0 need to be installed.
Ensure that the instrument has been configured in the VISA utility (such as Agilent Connection Expert) before you execute this example.
Get Identification Information about the Instrument
Use
INSTRHWINFO to find the instrument resource string
Verify the Driver is Installed
If the AgMD1 driver is installed, it will show up in the list of installedDrivers
Import the IVI-C Driver into MATLAB
To use the installed IVI-C driver from MATLAB, a MATLAB driver needs to be created. The MATLAB driver needs to be created only once, and should exist on the MATLAB path
Initialize the Driver Object and Connect to the Digitizer
Using the MATLAB driver, a device object must be created first. Using the device object, a connection is established to the digitizer from MATLAB. In this example the driver is used in simulate mode. Set Simulate=false in the initOptions variable below to run this example with an actual instrument
Set Up the Digitizer to Acquire Waveforms on Channel 1 and Channel 2
After the connection is established, properties such as input impedance, number of points per record, and sampling rate need to be set, prior to acquiring the waveforms on the digitizer. The values of the enumerated datatypes used can be found in the MD1 driver documentation
Acquire Data
To acquire data from channel 1 the
READWAVEFORMREAL64 method is used. The READWAVEFORMREAL64 method initiates acquisition of a signal on both channel 1 and channel 2, but returns the waveform for channel 1 only. Following this, to read the already acquired waveform from channel 2, the FETCHWAVEFORMREAL64 method is used
Plot the acquired signals
The
SUBPLOT feature of MATLAB is used to plot the waveforms read from channel 1 and channel 2 of the digitizer
Clean Up - Delete the MD1 Device Object
After configuring the digitizer, and fetching/reading data from it, the device object needs to be closed and removed from the workspace
Additional Information:
This example shows the setup and acquisition of data from a Digitizer using the IVI driver. Once the measured waveform is retrieved from the instrument, MATLAB can be used to visualize and perform analyses on the data using the rich library of functions in the Signal Processing Toolbox™ and Communications Systems Toolbox™. Using Instrument Control Toolbox™, it is possible to automate control of instruments, and, build test systems that use MATLAB to perform analyses that may not be possible using the built-in capability of the hardware.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |