GPIB is a standardized interface that allows you to connect and
control multiple devices from various vendors. Communication is
established through a VISA-GPIB object,
which you create in the MATLAB® workspace. For information about creating the VISA-GPIB
object, see Get Started with GPIB Interface.
You can write and read both binary and text data. For examples of both, see Write and Read GPIB Data.
|List available VISA resources|
|Create connection to device using VISA|
|Set terminator for ASCII string communication with VISA resource|
|Set callback function and trigger condition for communication with VISA resource|
|Check status of VISA resource|
|Send trigger message to GPIB or VXI instruments|
|Read data from VISA resource|
|Read line of ASCII string data from VISA resource|
|Read one binblock of data from VISA resource|
|Write data to VISA resource|
|Write line of ASCII data to VISA resource|
|Write one binblock of data to VISA resource|
|Write command to VISA resource and read response|
|Clear buffers for communication with VISA resource|
|Test and Measurement Tool||Control oscilloscopes and other instruments|
Establish a connection between MATLAB and your instrument using the VISA-GPIB interface.
Write and read both text and binary data over the VISA-GPIB interface.
Enhance your instrument control communication using events and callbacks.
Send the trigger command to your VISA resource.
Execute a serial poll to check the status of your VISA resource.
Basic features of the General Purpose Interface Bus (GPIB).
Connect to a GPIB instrument using
visadev instead of
Troubleshoot the VISA-GPIB interface.