Interfaccia VISA
È possibile utilizzare l'interfaccia VISA con diversi tipi di interfacce, come TCP/IP, USB, GPIB e altre. Si crea un oggetto visadev
utilizzando argomenti che determinano il tipo di interfaccia tramite cui si comunica. Ad esempio, per un oggetto VISA-GPIB, la funzione visadev
accetta una stringa di risorse VISA che include l'indice e l'indirizzo della scheda.
Funzioni
Proprietà
visadev Properties | Access VISA resource properties (Da R2021a) |
App
VISA Explorer | Connect to and communicate with instruments over VISA (Da R2022b) |
Blocchi
VISA | Communicate with VISA resources (Da R2023b) |
Argomenti
Connettiti e configura le interfacce 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.
Comunicare con la risorsa 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 usingvisadev
instead ofvisa
.
Risoluzione dei problemi
Risoluzione dei problemi dell'interfaccia VISA
Risolvere i problemi dell'interfaccia 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.