Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

while loops + daq

Hello, I want to do a program for adquiring a signal or doing another thing depending on o boolean. I send you an example of I want to do. My proble is that only adquire data first time i change boolean value, not after. What can I do?
Please help me!
Thanks.
Luz
0 Kudos
Message 1 of 2
(2,631 Views)

Hello,

try to debug your VI activating the Highlight execution in the block diagram and you will see that when you click on STOP button, you exit of the while loop and your VI stops. Disconnect the cable and create a new stop button and you will see that your VI continues running. I attach you an image.

In conclusion, you have to be carefull with the exit or stop condition of you while loop. Modified accoring to you convenience.

I hope this helps.

Regards

crisR

0 Kudos
Message 2 of 2
(2,616 Views)