07-03-2013 03:29 PM
My lab has a setup with Windows 2000, LabVIEW 6i, DAQ 6.9, and PCI-6036E to collect voltage data. We have replicated the system exactly except with Windows XP and we get the -10609 Error AI Clock Config even when it is the only program running. What could it be? If I am leaving out important info, please let me know.
Thanks,
Jeff
07-08-2013 11:30 AM
Here is one resource: http://digital.ni.com/public.nsf/allkb/DFD26DA11B31586E86256E280075C217?OpenDocument
It discusses the possible causes if you haven't seen this yet.
Thanks,
Eric E.
07-09-2013 11:08 AM
I think that I have determined the problem, but I still don't understand why it works on the original machine, but not the replicated one with Windows XP.
I am using DAQ for two load cells and the program uses AI Config with the remainder of the code in a while loop -->
AI Start and AI Read to acquire continuous voltage from both load cells. (this works fine in both programs)
To calibrate each load cell, we hang a weight and enter the value and click set, which starts a "for loop" with 10 iterations to get the mean and determine the slope between the voltage and load. In this "for loop", there is another AI Start and AI Read, causing the 10609 error in the program on Windows XP.
I am going to look through examples to see how to coninuously acquire data from two channels and take a subset when the weight is hanging. However, it is just very strange that the program works on the original computer.
07-09-2013 03:38 PM
I solved the problem, but I don't know why the solution works.
The calibration occurs in a sub vi and uses shift registers on the "for loop" to average the 10 iterations. The shift registers were returning NaN until I added terminals to the sub vi and connected the voltage values. However, the voltage values aren't connected to anything.
The original code didn't need this, but apparently on Windows XP, it was necessary.