Contenuto principale

Questa pagina è stata tradotta con la traduzione automatica. Fai clic qui per vedere l’originale in inglese.

Interfaccia GPIB

Comunicare con gli strumenti tramite l'interfaccia VISA-GPIB

GPIB è un'interfaccia standardizzata che consente di collegare e controllare più dispositivi di diversi produttori. La comunicazione viene stabilita tramite un oggetto VISA-GPIB, visadev, che viene creato nell'area di lavoro MATLAB®. Per informazioni sulla creazione dell'oggetto VISA-GPIB, consultare Get Started with GPIB Interface.

È possibile scrivere e leggere dati sia binari che testuali. Per esempi di entrambi, vedere Write and Read GPIB Data.

Funzioni

espandi tutto

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

App

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

Argomenti

Risoluzione dei problemi

Troubleshooting GPIB Interface

Troubleshoot the VISA-GPIB interface.