08-22-2018 09:22 AM
Hello LabVIEW users,
I have problem witch some measurements, I would like to do some calculations for sample incoming from dam daqmx.
For now i am using while loop, but while loop is not trigered by the the sampe clock.
So question is how to trigger event or loop by sample clock. My current code in the attachment
Best regards
08-28-2018 02:42 AM - edited 08-28-2018 02:44 AM
Hi pablo,
but while loop is not trigered by the the sampe clock.
???
You loop will iterate as fast as possible.
I prefer to set a certain "block size" (aka "number of samples") for DAQmxRead:
(I also cleaned up our VI and removed a lot of unneeded stuff…)
Now those loops will iterate with a fixed iteration time, determined by the sample clock of your DAQ hardware.