Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Stop acquisition and generation with a case structure

Can you clarify whats prompting the program to stop, prior to completing the for loop iterations?

 

regards,

Glenn


Regards,
Glenn
0 Kudos
Message 11 of 13
(916 Views)
It's a comparison. In the "for" Loop, each data point is compared to a reference value. If an acquired data is less than that threshold, the "for" Loop stops. The whole computation stops to run too but with a delay.
0 Kudos
Message 12 of 13
(914 Views)

Move the append waveform outside the For Loop.  Also, you can probably replace the For Loop with a while loop since it appears the number of iterations isn't too important.

 

Glenn


Regards,
Glenn
0 Kudos
Message 13 of 13
(896 Views)