11-12-2007 12:00 PM
Hello,
This may get a bit confusing. I'll try to layout what I have done and
why...
We started out with a vi that ran on LabVIEW 5.1 and used a PCI-1200 DAQ card,
we set out port this VI to LabVIEW 8.2. The PCI-1200 isn't supported
under LV8.2, so we opted for the PCI-6025E with a PCI-1200 adapter. The original
5.1 VI uses (of course) legacy DAQ VI's.
Installed traditional Ni-DAQ 6.9.3 on top of my existing MX VISA install.
When I loaded the 5.1 VIs into 8.2 for the first time, it complained about
missing many of the AI/AO VIs in this path:
C:\Program Files\National Instruments\LabVIEW 8.2\vi.lib\Daq\Ai.llb, AI
Continuous Scan.vi, AI Read (scaled array).vi, AI Read (waveform).vi, etc..
I copied these files from the same location in the original 5.1 machine into
the path on my 8.2 setup, tried to open the 5.1 install again and it found all
the missing
The SW runs, but used 100% CPU time in a tightly nested AI loop, sometimes the
AI data comes in with holes in it (zero reading reported)... I installed
LabVIEW 8.2 eval version on the test pc and ran the
The sampling is only set to 2 times a second, and I've tried slowing the acquisition
loops even more by adding 100 ms metronomes. Nothing helps, I still get
junk data back and 100% CPU utilization.
Any help is GREATLY appreciated.
Thanks,
Adam
11-12-2007 12:05 PM
11-13-2007 05:25 PM
Hi Ajckson
There have been a couple of changes in how NI-DAQ handles the threads for this reason I would like to know which version of Traditional DAQ you are using? Since you are taking the effort to migrate the code, I will advise to upgrade your code to NI-DAQmx drivers; this Knowledge base will help you: Transition from Traditional NI-DAQ to NI-DAQmx in LabVIEW.
But going back to your problem and after doing a little bit of research in our database I found that it is a know issue with Traditional DAQ. If you take a look at this Discussion Forum: Problem in continuous acquisition (Traditional DAQ), you will find where am I getting this information from. More information about this issue can be found at this link.
I hope it helps