Contenuto principale

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

Comunicazione del driver dello strumento

Comunicare con gli strumenti utilizzando i driver degli strumenti

È necessario creare un oggetto interfaccia, ad esempio gpib o i2c, per comunicare con gli strumenti, come descritto in molte sezioni della documentazione. È inoltre possibile creare un oggetto dispositivo che consente di configurare e interrogare uno strumento senza conoscerne il set di comandi. Per ulteriori informazioni sull'utilizzo degli oggetti dispositivo, consultare Creating and Connecting Device Objects.

Funzioni

espandi tutto

instrhwinfoInformation about available hardware
instridDefine and retrieve commands that identify instruments
icdevicefindFind device connections (Da R2024b)
icdeviceCrea oggetto dispositivo
connectConnect device object to instrument
invokeExecute driver-specific function on device object
deviceresetReset instrument
selftestRun instrument self-test
geterrorCheck and return error message from instrument
dispDisplay instrument object summary information
getInstrument object properties
setConfigure or display instrument object properties
inspectOpen Property Inspector
methodsClass method names and descriptions
propinfoInstrument object property information
saveSave instrument objects and variables to MAT file
loadLoad instrument objects and variables into MATLAB workspace
lengthLunghezza dell'array di oggetti strumento
sizeDimensione dell'array di oggetti strumento
isvalidDetermine whether instrument objects are valid
obj2mfileConvert instrument object to MATLAB code
disconnectDisconnect device object from instrument
deleteRemove instrument objects from memory
clearRemove instrument objects from MATLAB workspace

Argomenti

Esempi in primo piano