06-28-2012 02:27 PM
I'm using an analog input on a PCI-6224 and having trouble with the clock source. I'm trying to take samples from 16 different analog inputs very quickly. I have the sample mode set to: Hardware Timed Single Point. The rate i'm running at is the max (250kHz(15625Hz per channel)). I left the clock source at the default and I'm just trying to sample repeatedly. The analog input works for a short while (2-3 seconds) and then just stops. Am I doing something wrong or is there something that I'm missing? Any advice would be great.
Solved! Go to Solution.
06-29-2012 09:24 AM
Yes, you're doing something wrong. Sample clock needs to be set to Continuous. See the attached screenshot for the main continuous acquisition example in LabVIEW.
06-29-2012 09:31 AM
Yeah, I tried that but I was getting some severe latency. The analog input would output changes in the voltage 1-3 seconds after the voltage actually changed. When I changed the sampling mode, the latency was gone.
06-29-2012 09:35 AM
That's how you clock in samples using the internal sample clock. If you see a delay then something else is amiss with how you're plotting/viewing the data.
Hardware-timed single point is for PID control with a real-time OS.