メインコンテンツ

このページは機械翻訳を使用して翻訳されました。最新版の英語を参照するには、ここをクリックします。

GPIB インターフェース

VISA-GPIBインターフェースを使用して計測器と通信する

GPIB は、さまざまなベンダーの複数のデバイスを接続して制御できるようにする標準化されたインターフェースです。通信は、MATLAB® ワークスペースで作成した VISA-GPIB オブジェクト visadev を介して確立されます。VISA-GPIB オブジェクトの作成については、Get Started with GPIB Interface を参照してください。

バイナリデータとテキストデータの両方の書き込みと読み取りが可能です。両方の例については、Write and Read GPIB Data を参照してください。

関数

すべて展開する

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

アプリ

VISA ExplorerConnect to and communicate with instruments over VISA (R2022b 以降)

トピック

トラブルシューティング

Troubleshooting GPIB Interface

Troubleshoot the VISA-GPIB interface.