Main Content

GPIB Interface

Communicate with instruments using the VISA-GPIB interface

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,visadev, which you create in the MATLAB®workspace. For information about creating the VISA-GPIB object, seeGet Started with GPIB Interface.

You can write and read both binary and text data. For examples of both, seeWrite and Read GPIB Data.

Functions

expand all

visadevlist List available VISA resources
visadev Create connection to device using VISA
configureTerminator 为ASCII字符串设置终结者沟通VISA resource
visastatus Check status of VISA resource
visatrigger Send trigger message to GPIB or VXI instruments
read Read data from VISA resource
readline Read line of ASCII string data from VISA resource
readbinblock Read one binblock of data from VISA resource
write Write data to VISA resource
writeline Write line of ASCII data to VISA resource
writebinblock Write one binblock of data to VISA resource
writeread Write command to VISA resource and read response
flush Clear buffers for communication with VISA resource

Apps

Test and Measurement Tool Control oscilloscopes and other instruments

Topics

Troubleshooting

Troubleshooting GPIB Interface

Troubleshoot the VISA-GPIB interface.