I am sending you a sample of the code that I am running to try and figure out my DAQmx problem.
I ran a semi-period test on the same machine with the 6624 counter using DAQmx and the 6602 counter using Traditional DAQ. I have attached the code for this.
When I ran the Traditional DAQ program, I have the program waiting for the information to come back from an ActiveX counter thread that I have created. I have also attached that code.
I used a 2000 count encoder that provided 4000 discrete data points. I took these values and populated and excel spreadsheet. The values were from the code that used Traditional DAQ and DAQmx. I then converted this to a graph and the values are much different. If you look at the values provided using Traditional DAQ, you can see how they differ as far as decimal precision. With the DAQmx, the values seem truncated, or somehow averaged, and they really don't change at all.
If you have any questions, please feel free to call me. I would love to use the 6624 counter on the next generation of test fixtures because of the wide range of input voltages, but if I can't do what I need with DAQmx, I will have to fall back on my old design using the 6602 and my external attenuation circuitry.
Hope this info helps.
Talk to you soon.
Steve Sotos
Global Test Engineering Manager
Danaher Sensors and Controls
1675 Delany Road
Gurnee, Illinois 60031-1282
847-782-5204
mailto:ssotos@dancon.com