Complete the following steps to create mappings between National Instruments DAQ devices and a model DLL.
- Specify the model DLL and real-time (RT) target.
- Click the Hardware I/O tab of the SIT Connection Manager dialog box.
- Place a checkmark in the NI DAQ checkbox.
- Click the Configure NI DAQ button to launch the Configure DAQ Device wizard.
- Click the Add Device button or the Rename Device button to specify the names of the DAQ device you want to use in the simulation. You can use National Instruments Measurement & Automation Explorer to see the device number of a DAQ device.
- Click the Next button.
- Choose a DAQ input or output from the DAQ Channels tree.
 |
Note You can create mappings only between DAQ inputs and model DLL inputs and only between DAQ outputs and model DLL outputs. |
- Select a model DLL input or output from the Model Inputs/Outputs tree.
- Click the Add button to add the mapping. The Current Mappings table updates to show the mapping you added.
 |
Note To remove a mapping, select a row in the Current Mappings table and click the Remove button. To remove all mappings, click the Clear button. |
- Click the Finish button to return to the SIT Connection Manager dialog box. The Hardware Mappings table updates to show any mappings you made.
- Click the Build Model Files button to generate the driver VI for the configuration.
- Click the OK button to generate the block diagram code for the host VI.