Modifica e test dei driver degli strumenti
I driver generici consentono al Instrument Control Toolbox™ di comunicare con dispositivi o software che non utilizzano driver o protocolli standard del settore. È possibile creare un driver generico utilizzando l'Editor driver strumenti. Consultare Creating MATLAB Instrument Drivers per informazioni sull'utilizzo dell'editor del driver dello strumento.
Dopo aver creato un driver, è possibile testarlo utilizzando lo strumento di test dei driver di strumentazione. Lo strumento fornisce un ambiente grafico per la creazione di un test di verifica della funzionalità di un driver per strumenti MATLAB®. È possibile verificare il comportamento di proprietà e funzioni ed esportare i risultati dei test in diversi formati. Vedi Instrument Driver Testing Tool Overview.
Funzioni
Argomenti
- 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.