Hauptinhalt

Diese Seite wurde mithilfe maschineller Übersetzung übersetzt. Klicken Sie hier, um das englische Original zu sehen.

Bearbeitung und Prüfung von Instrumententreibern

Instrumententreiber erstellen und modifizieren; Funktionalität der Instrumententreiber testen und überprüfen

Generische Treiber ermöglichen es dem Instrument Control Toolbox™, mit Geräten oder Software zu kommunizieren, die keine branchenüblichen Treiber oder Protokolle verwenden. Sie erstellen einen generischen Treiber mithilfe des Instrument Driver Editors. Siehe Creating MATLAB Instrument Drivers für Informationen zur Verwendung des Instrument Driver Editors.

Nachdem Sie einen Treiber erstellt haben, können Sie ihn mit dem Instrument Driver Testing Tool testen. Das Tool bietet eine grafische Umgebung zum Erstellen eines Tests, um die Funktionalität eines MATLAB®-Instrumententreibers zu überprüfen. Sie können das Verhalten von Eigenschaften und Funktionen überprüfen und die Testergebnisse in verschiedenen Formaten exportieren. Siehe Instrument Driver Testing Tool Overview.

Funktionen

alle erweitern

instrhwinfoInformation about available hardware
connectConnect device object to instrument
invokeExecute driver-specific function on device object
selftestRun instrument self-test
mideditOpen graphical tool for creating and editing MATLAB instrument driver
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

Themen

  • 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.