Contenido principal

Interfaz GPIB

Comunicarse con los instrumentos mediante la interfaz VISA-GPIB

GPIB es una interfaz estandarizada que le permite conectar y controlar múltiples dispositivos de distintos proveedores. La comunicación se establece a través de un objeto VISA-GPIB, visadev, que se crea en el espacio de trabajo MATLAB®. Para obtener información sobre la creación del objeto VISA-GPIB, consulte Get Started with GPIB Interface.

Puede escribir y leer datos binarios y 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.