03-28-2017 11:51 AM
We are upgrading a system and would like to start using DAQmx in some of our applications - but not in all.
New system:
NI PCI-6601
Windows 10 IOT 32bit
DAQ traditional 7.5
DAQmx 15.5
The issue is that after I have used the device in DAQmx it can no longer be accessed from DAQ Traditional.
It is supposed to be possible but it does not seem to work:
http://digital.ni.com/public.nsf/allkb/890B0DA164567EAD86257AAE0057E1E2?OpenDocument
Does anyone have experience with this?
As described in the link a reset is needed after a device has been used. We are using the C library for DAQ Traditional and the C# (Measurement Studio) for DAQmx. It is easy to reset a device in DAQmx:
var dev = DaqSystem.Local.LoadDevice(device);
if (dev != null)
{
dev.Reset();
dev.Dispose();
}
But there is no function i C to reset the device. How is this done?
Hope someone can help me on this, I would prefer not to port all our DAQ code to DAQmx.
BR
Simon
Solved! Go to Solution.
04-10-2017 03:09 AM
With the help of NI support i found a function: unloadConfiguration.
It takes a single argument, an unsigned 32bit integer and the value should be 42 (decimal).
It seems to work for resetting the device in NIDAQ traditional, but it does not help running DAQmx and Traditional on the same pc.
04-10-2017 03:11 AM
The function is in nidaq32.dll naturally 🙂