Contenido principal

Edición y prueba de controladores de instrumentos

Crear y modificar controladores de instrumentos; probar y verificar la funcionalidad del controlador de instrumentos

Los controladores genéricos permiten que Instrument Control Toolbox™ se comunique con dispositivos o software que no utilizan controladores o protocolos estándar de la industria. Puede crear un controlador genérico utilizando el Editor de controladores de instrumentos. Consulte Creating MATLAB Instrument Drivers para obtener información sobre el uso del Editor de controladores de instrumentos.

Después de crear un controlador, puede probarlo utilizando la herramienta de prueba de controladores de instrumentos. La herramienta proporciona un entorno gráfico para crear una prueba para verificar la funcionalidad de un controlador de instrumento MATLAB®. Puede verificar el comportamiento de propiedades y funciones y exportar los resultados de la prueba en una variedad de formatos. Ver Instrument Driver Testing Tool Overview .

Funciones

expandir todo

instrhwinfoInformation about available hardware
connectConnect device object to instrument
invokeExecute driver-specific function on device object
selftestRun instrument self-test
dispDisplay instrument object summary information
getInstrument object properties
setConfigure or display instrument object properties
inspectOpen Property Inspector
methodsClass method names and descriptions
saveSave instrument objects and variables to MAT file
propinfoInstrument object property information
disconnectDisconnect device object from instrument
deleteRemove instrument objects from memory
clearRemove instrument objects from MATLAB workspace

Temas

  • Creating MATLAB Instrument Drivers

    How to create, modify, save, and verify instrument drivers using the MATLAB Instrument Driver Editor.

  • Properties

    Defining instrument functionality as properties of the device object to ease communications with your instrument.

  • Functions

    Defining instrument functionality as functions of the device object to ease communications with your instrument.

  • Groups

    Combining common capabilities of the device object.

  • Using Existing Drivers

    Adapting existing drivers for your instrument.

  • Setting Up Your Test

    Providing global information for your test, including name, description, driver, interface, and preferences.

  • Defining Test Steps

    Creating steps to test setting property values, getting property values, and driver functions.

  • Saving Your Test

    Saving your test for future midtest sessions, or as code, or as a driver function.

  • Testing and Results

    Running a complete or partial test; exporting or saving test results.

  • MATLAB Instrument Driver Editor Overview

    An explanation of MATLAB instrument drivers, their features, capabilities, and usage.

  • Instrument Driver Testing Tool Overview

    An explanation of the MATLAB Instrument Driver Testing Tool, its capabilities, and usage.