Instrument Control Toolbox
Control test and measurement instruments and communicate with computer peripherals and industrial automation equipment
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. It also includes functions and apps for the MODBUS protocol, enabling communication with industrial automation equipment such as programmable logic controllers (PLCs) and programmable automation controllers (PACs).
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.
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 App
Use the Instrument Control app to communicate with and configure instruments without writing code. The app automatically generates 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 Instrument Drivers
Use instrument drivers to communicate with instruments independently of device protocols. Directly use vendor-provided IVI and VXIplug&play instrument drivers, or create MATLAB instrument drivers with driver development tools included in the toolbox.
Customize Instrument Drivers
Use the MATLAB Instrument Driver Editor to import and customize existing drivers and to create MATLAB instrument drivers from IVI and VXIplug&play drivers.
Modbus Explorer App
The Modbus Explorer app lets you communicate with Modbus slaves without writing code. Configure a Modbus connection over Modbus RTU or Modbus TCP/IP. Automatically generate a MATLAB script from the app, and use this MATLAB code in other programs.
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).
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:
Modbus Explorer App
Configure Modbus communication and read and write to registers without authoring code
Modbus Protocol Support
Communicate with hardware using the MODBUS protocol over TCP/IP and Serial
Generate C and C++ code from modbus objects with MATLAB® Coder™
Quick-Control RF Signal Generator Interface
Use a simple interface to easily download signals and control RF signal generators
Communicate with instruments using Rohde & Schwarz R&S VISA
High Performance Functions for Interfacing with Instruments over Serial
Stream data up to 4 times faster with readbinblock, writebinblock and writeread