Contenuto principale

Questa pagina è stata tradotta con la traduzione automatica. Fai clic qui per vedere l’originale in inglese.

Interfaccia VISA

Comunicazione con strumenti che supportano lo standard 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 sta comunicando. 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

espandi tutto

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 (Da 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
setDTRSet serial DTR pin
setRTSSet serial RTS pin
getpinstatusGet serial pin status

Proprietà

visadev PropertiesAccess VISA resource properties

App

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

Blocchi

VISACommunicate with VISA resources (Da R2023b)

Argomenti

Connessione e configurazione delle interfacce VISA

Comunicazione con VISA Resource

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.

Esempi in primo piano