LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I programatically simulate a DAQmx device?

Hello All,
 
I'm using LabWindows CVI 8.0 and DAQmx. 8.3. I want to simulate a PXI 6229 card but I want to set up the card as simulated in my code, not in NI MAX. Non-DAQmx devices I initialize with Options with "Simulate=1". I haven't found a way to do this for the DAQmx devices.
 
How do I do this?
 
Thanks
Joe
 
"Lockheed" Joe
Testing Blog"
0 Kudos
Message 1 of 4
(3,748 Views)
Joe,

Thanks for posting to the NI forums.  NI-DAQmx is not an IVI compliant driver and, unfortunately, there is not a method of programmatically simulating DAQmx devices available in the DAQmx API.  You could potentially export several MAX configurations with simulated devices and then programmatically load them, but this is not a very elegant solution.  Feel free to submit a product suggestion at:

http://digital.ni.com/applications/psc.nsf/default?openform


Each product suggestion is assigned an owner in R&D that will evaluate the suggestion.  If we recieve enough requests for the feature it is possible that we could implement it in the future.

Let me know if you have any additional questions.

Regards,

Neil S.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,715 Views)

Thanks Neil,

I thought I knew that answer, but wasn't sure. We've had trouble with people putting in simulated devices in MAX without letting anyone know and, once, it got past validation and to production.

What I'll probably do is check for simulated devices with the DAQmxGetDeviceAttribute (something like that) and warn people the device is simulated. And if a device is suppose to be simulated I'll just pop up a box on what to do to simulate the device.

I'm sure I'll use the product suggestion link you sent, there are several things NI has done to make it hard to develop.

 

Thanks

"Lockheed" Joe
Testing Blog"
0 Kudos
Message 3 of 4
(3,713 Views)
Joe,

I'm sorry you have run into some frustrations during development.  Thank you for providing the feedback.  I can assure you we take customer feedback very seriously.   Honest feedback from our intelligent and determined customers drive improvement of our product lines and our company.  I wish you a very good holiday season and good luck with your application

Regards,

Neil S.
Applications Engineer
National Instruments
Message 4 of 4
(3,683 Views)