主要内容

本页采用了机器翻译。点击此处可查看最新英文版本。

GPIB 接口

使用 VISA-GPIB 接口与仪器通信

GPIB 是一种标准化接口,允许您连接和控制来自不同供应商的多个设备。通信是通过您在 MATLAB® 工作区中创建的 VISA-GPIB 对象 visadev 建立的。有关创建 VISA-GPIB 对象的信息,请参阅 Get Started with GPIB Interface

您可以写入和读取二进制数据和文本数据。有关两者的示例,请参阅 Write and Read GPIB Data

函数

全部展开

visadevlistList available VISA resources (自 R2021a 起)
visadevCreate connection to device using VISA (自 R2021a 起)
configureTerminatorSet terminator for ASCII string communication with VISA resource (自 R2021a 起)
visastatusCheck status of VISA resource (自 R2021a 起)
visatriggerSend trigger to GPIB or VXI instruments (自 R2021a 起)
visadevfindFind VISA device connections (自 R2024a 起)
readRead data from VISA resource (自 R2021a 起)
readlineRead line of ASCII string data from VISA resource (自 R2021a 起)
readbinblockRead one binblock of data from VISA resource (自 R2021a 起)
writeWrite data to VISA resource (自 R2021a 起)
writelineWrite line of ASCII data to VISA resource (自 R2021a 起)
writebinblockWrite one binblock of data to VISA resource (自 R2021a 起)
writereadWrite command to VISA resource and read response (自 R2021a 起)
flushClear buffers for communication with VISA resource (自 R2021a 起)

App

VISA 通信管理器Connect to and communicate with instruments over VISA (自 R2022b 起)

主题

疑难解答

Troubleshooting GPIB Interface

Troubleshoot the VISA-GPIB interface.