I'm using a PXI crate with a PCI board in a Win2k PC. I recently upgraded to NIDAQ 8.0.1f0 and ported from Traditional NI-DAQ to NIDAQmx because we want to use a PXI-6122 ADC board (which isn't supported by Traditional NI-DAQ). Previously we were using a PXI-6115 with Traditional NI-DAQ 7.4. The only other card in the PXI crate is a 6608, which we are using to time the ADC conversions.
The following problem appears with both the 6115 and the 6122. On the first data acquisition cycle, everything works fine. After that, I stop all tasks and call DAQmxClearTask for each. Then a few seconds later I create new (unnamed) tasks in the same way as before, start the data acquisition again, and after a few seconds the pc crashes and reboots itself. I don't have a console on this computer so I can't see what it says in the blue screen. I'm using DAQmxRegisterEveryNSamplesEvent to receive the ADC data.
Now, if I disconnect the cable carrying signal from the outside world to the ADC, everything works fine. And all is well if I have the cable connected but use MAX to start/stop data acquisition. I don't understand how the cable could make a difference, but there you go.
Is this a known problem? What do I need to do to avoid it? Or is there something wrong with my hardware?
Thanks for any help you can offer.