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&playor 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).
Get Started:
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; useApp Designerto build UIs that automate your design verification and production test procedures. UseMATLAB Compiler™to deploy your test application to multiple test stations.
Quick-Control Interfaces
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&playinstrument 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&playdrivers.
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).
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: