Contenu principal

Cette page a été traduite par traduction automatique. Cliquez ici pour voir la dernière version en anglais.

Interface GPIB

Communiquez avec les instruments à l'aide de l'interface VISA-GPIB

GPIB est une interface standardisée qui vous permet de connecter et de contrôler plusieurs appareils de différents fournisseurs. La communication est établie via un objet VISA-GPIB, visadev, que vous créez dans l'espace de travail MATLAB®. Pour plus d'informations sur la création de l'objet VISA-GPIB, voir Get Started with GPIB Interface .

Vous pouvez écrire et lire des données binaires et textuelles. Pour des exemples des deux, voir Write and Read GPIB Data .

Fonctions

développer tout

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

Applications

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

Rubriques

Résolution des problèmes

Troubleshooting GPIB Interface

Troubleshoot the VISA-GPIB interface.