Get Started with Instrument Control Toolbox
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).
- Examining Your Hardware Resources
Return hardware-related information visible to the toolbox, including the installed adaptors and the syntax for creating instrument objects.
- Communicating with Your Instrument
Examples that show you how to communicate with instruments that support the GPIB, GPIB-VXI, and serial port interfaces.