Is it possible to acquire data from a Tektronix RSA 306 (real-time signal analyzer) using Instrument Control Toolbox?
MATLAB: Is it possible to acquire data from a Tektronix RSA 306 (real-time signal analyzer) using Instrument Control Toolbox
Instrument Control Toolbox
Related Solutions
Instrument Control Toolbox provides a Quick-Control interface to oscilloscopes and function generators. The Quick-Control interface provides an easy-to-use set of methods and properties that can be used to control your oscilloscope or function generator.
These features can be used with any oscilloscope or function generator class instrument that has an IVI-C instrument driver that implements the IviOscilloscope or IviFgen interface, respectively. In order to use IVI-C instrument drivers, you will need to install the following software:
1. A supported compiler (as of MATLAB R2014b, a separate C compiler installation is not required)
2. VISA software
3. IVI Compliance Package
4. IVI-C driver(s) for your instrument
1. Once installed, a supported compiler needs to be properly configured for use with MATLAB:
- 32-bit MATLAB installations ship with a supported compiler, but require the additional configuration step.
- 64-bit MATLAB installations require the installation of a supported compiler. Microsoft Windows SDK is available at no charge and can be installed according to the instructions at the following URL:
To configure an installed compiler for use with MATLAB, execute the following command at the MATLAB command prompt and follow the prompts:
>> mex -setup
2. A supported VISA software needs to be installed. Instrument Control Toolbox supports the following VISA software solutions. A supported VISA software can be downloaded at the accompanying URLs:
- Agilent IO Suite:
- National Instruments VISA:
- Tektronix TekVISA Connectivity Software:
3. The IVI compliance package needs to be installed. This can be downloaded from the following URL:
4. The IVI-C instrument driver for your specific instrument. The IVI foundation maintains a registry of drivers sortable by instrument model and driver type. Look for the IVI-C driver for your instrument in the IVI Foundation registry at the following URL: http://www.ivifoundation.org/registered_drivers/
Once the software has been correctly configured, the instrhwinfo command can be used to verify that the installed IVI drivers are accessible in MATLAB:
iviInfo = instrhwinfo('ivi');iviInfo.Modules
You may need to specify the driver property of the oscilloscope/fgen object with the installed ivi module, as shown below:
myScope = oscilloscope()myScope.Driver = '<module>'; % This can be obtained from the output of 'instrhwinfo('ivi')' and Modules property
Please refer to the Oscilloscope App example which can be downloaded from File Exchange
This example app which shows how to use App Designer and the Quick-Control Oscilloscope interface (Instrument Control Toolbox) to control and read waveform data from supported oscilloscope instruments.
This app requires:
- MATLAB® R2018b or later release
- Instrument Control Toolbox™
- A supported oscilloscope instrument; some Tektronix models are supported with the default 'tektronix' driver; other manufacturers/models are supported via third-party IVI-C drivers.
Required software for the Quick-Control Oscilloscope interface:
- "Instrument Control Toolbox Support Package for National Instruments VISA and ICP Interfaces" (install with MATLAB Add-On Explorer)
- For manufacturers other than Tektronix, an installed IVI-C driver compatible with your oscilloscope instrument model.
Best Answer