Instrument Control Toolbox™ lets you connect MATLAB® directly to instruments such as oscilloscopes, function generators, signal analyzers, power supplies, and analytical instruments. The toolbox connects to your instruments via instrument drivers such as IVI and VXIplug&play or via text-based SCPI commands over commonly used communication protocols such as GPIB, VISA, TCP/IP, and UDP. You can also control and acquire data from test equipment without writing code.
With Instrument Control Toolbox, you can generate data in MATLAB to send out to an instrument or read data into MATLAB for analysis and visualization. You can automate tests, verify hardware designs, and build test systems based on LXI, PXI, and AXIe standards.
The toolbox provides built-in support for TCP/IP, UDP, I2C, SPI, and Bluetooth® serial protocols for remote communication with other computers and printed circuit boards (PCBs) from MATLAB.
Acquire and Output Signals
Use an RF signal generator to output 5G, LTE, WLAN, and custom wireless signals that you have designed in MATLAB; acquire data over the air from RF signal and spectrum analyzers for further analysis in MATLAB.
Automate and Deploy Tests
Use Instrument Control Toolbox to connect to your test equipment; use App Designer to build UIs that automate your design verification and production test procedures. Use MATLAB Compiler™ to deploy your test application to multiple test stations.
Quick-control interfaces provide the most common functions needed to control oscilloscopes, function generators, and RF signal generators. Read waveforms, adjust offset and coupling on scopes, and download arbitrary waveforms to signal generators.
Instrument Control Apps
Use the VISA Explorer and Instrument Control Apps to communicate with and configure instruments without writing code. The apps automatically generate MATLAB code from an instrument control session that you can incorporate into other automated test programs.
Text-Based Instrument Control
Communicate with instruments using text-based SCPI commands over interfaces, such as VISA, GPIB, USB, TCP/IP, and Serial. Use IVI, VXIplug&play, and MATLAB instrument drivers to simplify programming of your instruments.
Use IVI and VXIplug&play Instrument Drivers
Use instrument drivers to communicate with instruments independently of device protocols. Directly use vendor-provided IVI and VXIplug&play instrument drivers. Many drivers can be used directly after installing the Instrument Control Toolbox Support Package for IVI and VXIplug&play Drivers.
Connect to Digital Sensors
Open connections with individual I2C or SPI sensors on your circuit board, and read and write data from these devices. Transfer data to or from any Bluetooth device that supports Bluetooth Serial Port Profile (SPP).
Connect to Networked Devices
Interface with test equipment and other networked devices over TCP/IP and UDP from both MATLAB and Simulink®. Send data from a Simulink model to a remote computer over UDP.
Supported Hardware and Standards
Multiple manufacturers of benchtop and modular instruments are supported, including Keysight™, Rohde & Schwarz, Tektronix®, and National Instruments®. VISA, GPIB, SCPI, IVI, VXIplug&play, LXI, PXI, and AXIe standards are supported. See link for details: