Modification et test de drivers d’instrument
Les drivers génériques permettent à Instrument Control Toolbox™ de communiquer avec des dispositifs ou des softwares qui n’utilisent pas les drivers ou protocoles standard de l’industrie. Il est possible de créer un driver générique avec Instrument Driver Editor. Pour plus d’informations sur l’utilisation d’Instrument Driver Editor, consultez Creating MATLAB Instrument Drivers.
Après avoir créé un driver, vous pouvez le tester avec l’outil Instrument Driver Testing. Ce dernier propose un environnement graphique pour créer un test afin de vérifier le fonctionnement d’un driver d’instrument MATLAB®. Vous pouvez vérifier le comportement des propriétés et des fonctions, et exporter les résultats du test dans divers formats. Consultez Instrument Driver Testing Tool Overview.
Fonctions
Rubriques
- 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.