10-05-2016 02:22 PM
I am using a NI 9234 Daq .
I have 4 channels configured using standard Daqmx VI’s not the express Daq assistant VI as it will not allow me to add a control for the sensitivity.
The issue I am having is that the VI runs slow when you look at the acceleration display you see segments that match the loop iteration but the FFT Graph looks fine.
Attached is my VI please have a look and see if I am missing something.
Thank you
Solved! Go to Solution.
10-05-2016 03:24 PM - edited 10-05-2016 03:25 PM
Hi So a few quick observations.
1. You are performing your task creation inside the loop every iteration. Do this before your loop.
2. You stop the task every iteration in the loop. Do this outside the loop
3. Inside your loop should be only your read function.
4. You are analyzing data every loop iteration. Look into producer consumer architecture.
Good luck.
10-05-2016 03:30 PM