Contenido principal

Esta página se ha traducido mediante traducción automática. Haga clic aquí para ver la versión original en inglés.

Interfaz GPIB

Comuníquese con los instrumentos mediante la interfaz VISA-GPIB.

GPIB es una interfaz estandarizada que permite conectar y controlar múltiples dispositivos de diversos fabricantes. La comunicación se establece a través de un objeto VISA-GPIB, visadev, que se crea en el área de trabajo MATLAB®. Para obtener información sobre cómo crear el objeto VISA-GPIB, consulte Get Started with GPIB Interface.

Puede escribir y leer datos tanto binarios como de texto. Para ver ejemplos de ambos, consulte Write and Read GPIB Data.

Funciones

expandir todo

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 (Desde 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 (Desde R2022b)

Temas

Solución de problemas

Troubleshooting GPIB Interface

Troubleshoot the VISA-GPIB interface.