メインコンテンツ

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

VISAインターフェース

VISA規格をサポートする機器と通信する

VISA インターフェイスは、TCP/IP、USB、GPIB など、さまざまなタイプのインターフェイスで使用できます。通信に使用するインターフェースのタイプを決定する引数を使用して、visadev オブジェクトを作成します。たとえば、VISA-GPIB オブジェクトの場合、visadev 関数はボード インデックスとアドレスを含む VISA リソース文字列を受け取ります。

関数

すべて展開する

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
setDTRSet serial DTR pin
setRTSSet serial RTS pin
getpinstatusGet serial pin status

プロパティ

visadev PropertiesAccess VISA resource properties

アプリ

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

ブロック

VISACommunicate with VISA resources (R2023b 以降)

トピック

VISAインターフェースへの接続と設定

VISAリソースとのコミュニケーション

トラブルシューティング

VISAインターフェースのトラブルシューティング

VISA インターフェースのトラブルシューティングを行います。

Resolve VISA Connection Errors

Troubleshoot connecting to a device using VISA.

Resolve VISA Warning: Unable to Read Any Data

Troubleshoot when you receive some data and you get the warning message: 'visadev' unable to read any data.

Resolve VISA Warning: Unable to Read All Data

Troubleshoot when you receive some data and you get the warning message: 'visadev' unable to read all requested data.

注目の例