メインコンテンツ

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

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 以降)

アプリ

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

トピック

トラブルシューティング

Troubleshooting GPIB Interface

Troubleshoot the VISA-GPIB interface.