LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

last value from timer

Solved!
Go to solution

hi

 

here is a update, its a bitt bether now but not all the way right. the problem is the for loop is not counting any solution?

(this is a updatet timer.vi)

 

 

modi

0 Kudos
Message 11 of 15
(816 Views)

Main thing I see:

 

Your while loop is set for Continue if True.  No matter what happens, your output going to that will be False since it can't detect a True to False transition because on first run, that subVI is initialized as false.  If you make that while loop Stop while True, then the While loop will actually run more than one time. 

0 Kudos
Message 12 of 15
(807 Views)
Solution
Accepted by Modi1987

Hi Modi,

 

Threre are a number of problems.

1. As Ravensfan stated, your loop is set to continue if true, that measn it only runs once. Change it to stop if true.

2. Reset should be connected to the output of the TOP booleanptbupt VI, not the lower one.

 

With these two changes I think you will get the result you want. 

 

Danielle

 

 

"Wisdom comes from experience. Experience is often a result of lack of wisdom.”
― Terry Pratchett
0 Kudos
Message 13 of 15
(789 Views)

Hi Danielle and Ravensfan.

 

Yeah i managed to fix the problem.  

I wanted to thx you 2 days ago but the site was down for update. You huys saved me from smashing my laptop.

 

A big thanks guys 

 

Modi

 

0 Kudos
Message 14 of 15
(775 Views)

You're welcome! Good luck.

 

Danielle

"Wisdom comes from experience. Experience is often a result of lack of wisdom.”
― Terry Pratchett
0 Kudos
Message 15 of 15
(766 Views)