Contenido principal

Esta página se ha traducido mediante traducción automática. Haga clic aquí para ver la versión original en inglés.

Comunicación del controlador de instrumentos

Comuníquese con los instrumentos mediante controladores de instrumentos.

Para comunicarse con los instrumentos, es necesario crear un objeto de interfaz, por ejemplo gpib o i2c, tal como se describe en muchas de las secciones de la documentación. También puede crear un objeto de dispositivo que permita configurar y consultar un instrumento sin necesidad de conocer su conjunto de comandos. Consulte Creating and Connecting Device Objects para obtener más información sobre el uso de objetos de dispositivo.

Funciones

expandir todo

instrhwinfoInformation about available hardware
instridDefine and retrieve commands that identify instruments
icdevicefindFind device connections (Desde R2024b)
icdeviceCrear objeto de 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
inspectAbra 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
lengthLongitud del arreglo de objetos del instrumento
sizeTamaño de el arreglo de objetos del instrumento
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

Temas

Ejemplos destacados