Contenuto principale

Questa pagina è stata tradotta con la traduzione automatica. Fai clic qui per vedere l'ultima versione in inglese.

Comunicazione con il driver dello strumento

Comunicare con gli strumenti utilizzando i driver degli strumenti

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

Funzioni

espandi tutto

instrhwinfoInformation about available hardware
instridDefine and retrieve commands that identify instruments
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
lengthLength of instrument object array
sizeSize of instrument object array
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