Interface VISA
Vous pouvez utiliser l'interface VISA avec différents types d'interfaces, telles que TCP/IP, USB, GPIB et autres. Vous créez un objet visadev en utilisant des arguments qui déterminent le type d'interface sur lequel vous communiquez. Par exemple, pour un objet VISA-GPIB, la fonction visadev prend une chaîne de ressources VISA qui inclut l'index et l'adresse de la carte.
Fonctions
Propriétés
| visadev Properties | Access VISA resource properties (depuis R2021a) |
Applications
| VISA Explorer | Connect to and communicate with instruments over VISA (depuis R2022b) |
Blocs
| VISA | Communicate with VISA resources (depuis R2023b) |
Rubriques
Se connecter et configurer les interfaces VISA
- Get Started with VISA
Get started with the Virtual Instrument Standard Architecture (VISA) interface. - Get Started with TCP/IP Interface for VXI-11 and HiSLIP
Establish a connection between MATLAB® and your instrument using the VISA-TCP/IP interface. - Get Started with TCP/IP Socket Interface
Establish a connection between MATLAB and your instrument using the VISA-Socket interface. - Get Started with USB Interface
Establish a connection between MATLAB and your instrument using the VISA-USB interface. - Get Started with GPIB Interface
Establish a connection between MATLAB and your instrument using the VISA-GPIB interface. - Get Started with Serial Port Interface
Establish a connection between MATLAB and your instrument using the VISA-Serial interface. - Get Started with VXI and PXI Interfaces
Establish a connection between MATLAB and your instrument using the VISA-VXI or VISA-PXI interface.
Communiquez avec la ressource VISA
- Write and Read ASCII Data Using VISA
Explore ASCII write and read operations with a VISA object. - Write and Read Binary Data Using VISA
Explore binary write and read operations with a VISA object. - Send Trigger to Instrument
Send the trigger command to your VISA resource. - Execute Serial Polls
Execute a serial poll to check the status of your VISA resource. - Transition Your Code to visadev Interface
Connect to a VISA device usingvisadevinstead ofvisa.
Résolution des problèmes
Dépanner l'interface VISA.
Resolve VISA Connection Errors
Troubleshoot connecting to a device using VISA.
Resolve VISA Warning: Unable to Read Any Data
Troubleshoot when you receive some data and you get the warning message: 'visadev' unable to read any data.
Resolve VISA Warning: Unable to Read All Data
Troubleshoot when you receive some data and you get the warning message: 'visadev' unable to read all requested data.



