03-28-2008 10:13 AM
03-28-2008 10:45 AM - edited 03-28-2008 10:45 AM
03-28-2008 10:59 AM
03-31-2008 11:25 AM
Hello Fayet,
Mike is correct; you shouldn't need to simulate the chassis or controller to simulate your input and output cards. You can simulate your cards using the Measurement and Automation Explorer (MAX) with the following steps.
1. Assuming you have a Windows machine, open MAX by going to Start>> All Programs>> National Instruments>> Measurement & Automation
2. Once MAX is open go to My System>> Devices and Interfaces>> NI-DAQmx Devices.
3. Right click on NI-DAQmx Devices and go to Create New NI-DAQmx Device...>> NI-DAQmx Simulated Device.
4. Find the module you want to simulate from the list, select the PXI chassis number and slot number you want to simulate the card in and click OK.
5. Repeat steps 2-4 for each module.
By choosing the chassis and slot number you'll actually be using in the physical system you should be able to swap out the simulated devices for the actual devices when they become available to you without modifying your code. You will just need to double check that none of your device names have changed.
I hope this helps get you started. Have a great day.
Cheers,
03-31-2008 11:39 AM
03-31-2008 12:15 PM