- Confirm you have NI-DAQmx installed. This will automatically install NI Measurement and Automation Explorer (MAX).
- In order to use the Simulated Devices feature with NI-DAQmx Runtime, make sure to have NI-DAQmx Runtime with Configuration Support boolean checked during the installation process.
- Launch NI MAX.
- On the right-hand panel of NI MAX, navigate to My System >> Devices and Interfaces and right-click.
- Select Create New...
- In the subsequent dialog, select Devices and Interfaces >> Simulated NI-DAQmx Device or Modular Instrument. Double click it or click Finish.
- The Create Simulated NI-DAQmx Device window prompts you to select a device. Search and/or navigate to the device you want.
Note: With this list, you can select a various number of hardware supported with NI-DAQmx driver. Not all devices will be available to simulate. If you have Modular Instrument drivers installed (eg.
NI-DCPower,
NI-SWITCH, etc) those devices will also be available to select.
- Select the device you want to create as an NI-DAQmx simulated device and click OK.
Note: For simulating C Series modules like the NI-9201 or NI-9234, you will need to simulate the cDAQ chassis the module will be in first.
- The NI-DAQmx simulated device will now appear in MAX under My System >> Device and Interfaces. The icon color of the NI-DAQmx simulated devices is yellow while physical devices are green and chassis are grey.
- If you don't need to add C Series Modules, continue with Step 11. If you need to add C Series modules, right-click your new simulated cDAQ chassis and click Configure Simulated cDAQ Chassis.
- In the Simulated cDAQ Chassis Configuration window you will have the option to choose different modules. The number of slots that are available are based on the cDAQ chassis you are configuring.
- It's best practice to rename your simulated devices in order to use them effectively. To rename your devices navigate to each of your simulated device and right click. Click Rename.
- The name will be highlighted for editing. Update with a user friendly name for using to call the device in your application.
Note: Do not use any spaces or special characters when renaming
Once you have completed with the renaming. All the devices should be updated with the names in NI MAX and are ready to be used.