Hauptinhalt

Diese Seite wurde mithilfe maschineller Übersetzung übersetzt. Klicken Sie hier, um das englische Original zu sehen.

GPIB-Schnittstelle

Kommunizieren Sie mit Instrumenten über die VISA-GPIB-Schnittstelle.

GPIB ist eine standardisierte Schnittstelle, die es ermöglicht, mehrere Geräte verschiedener Hersteller anzuschließen und zu steuern. Die Kommunikation wird über ein VISA-GPIB-Objekt, visadev, hergestellt, das Sie im MATLAB®-Workspace erstellen. Informationen zum Erstellen des VISA-GPIB-Objekts finden Sie unter Get Started with GPIB Interface.

Sie können sowohl Binär- als auch Textdaten schreiben und lesen. Beispiele für beides finden Sie unter Write and Read GPIB Data.

Funktionen

alle erweitern

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 (Seit 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

Apps

VISA ExplorerConnect to and communicate with instruments over VISA (Seit R2022b)

Themen

Fehlersuche

Troubleshooting GPIB Interface

Troubleshoot the VISA-GPIB interface.