From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

One data sample written to txt file

Solved!
Go to solution
Solution
Accepted by topic author NI_Joel

Dennis and Crossrulz,

 

Thank you for looking at the interation count, probed the VI and found that the problem had to do with timing.  You were correct that the loop should only iterate once, however I had this problem with the test fixture I was connected to:

 

The 'Take a measurement' loop was able to run 3 times since the voltage remained greater than 2V for 100 ms.  During this time, the condition was true making it able to stop the loop and proceed through the sequence structure.  I added a delay in the second sequence so that it waits while the input signal in the first sequence while loop falls back below 2V.  See image.

 

Thank you both!

 

 

0 Kudos
Message 11 of 11
(214 Views)