Contenido principal

Comunicación entre el instrumento y el conductor

Comunicarse con instrumentos mediante controladores de instrumentos

Es necesario crear un objeto de interfaz, por ejemplo gpib o i2c, para comunicarse con los instrumentos, como se describe en muchas de las secciones de la documentación. También puede crear un objeto de dispositivo que le permita configurar y consultar un instrumento sin 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
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
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

Temas

Ejemplos destacados