ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

repeated software triggering

hi

I want to repeatedly record data using a software trigger. I used the acquire N scans analog software trig.vi example and adjusted the input paramteres for my needs. For one aquicisition the vi works fine. Now i want to repeat the triggering and recording process because i want to do averaging. i tried to use a for-loop or a while loop as shown in attachement, but i get errors.
does anybody know which adjustements i have to make to get the vi running ?

Thanks Philipp
0 Kudos
Message 1 of 3
(2,831 Views)
and here is the attachement .....
0 Kudos
Message 2 of 3
(2,830 Views)
Hi Philipp,
 
try placing the "AI start"-VI outside the loop. Otherwise LabVIEW will try to start a task that is still running and that´s
just what your error message says. I didn´t have a device that runs with the traditional DAQ so that i couldn´t test but
please let me know if this could solve your problem.
 
Best regards,
 
David
0 Kudos
Message 3 of 3
(2,783 Views)