LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Restore status of a boolean button

Hello guys, I  am making  a   case loop that  allow  me to increment  a   value by  a constant  step, and  I need  when  the  value that was incrementated  reach to a upper limit set  by me to  cancel  the  status of  button  who control the case  loop. How can I do that?

 

Regards,

Vlad

0 Kudos
Message 1 of 12
(3,305 Views)

Hi,

 

This VI have a increase number control and trigger boolean control.

 

And u can see what number now.

 

Pls see the attachment  .Smiley Happy

Certified LabVIEW Developer
0 Kudos
Message 2 of 12
(3,299 Views)

Show your VI what you tried so far...

0 Kudos
Message 3 of 12
(3,297 Views)

sorry I can open it, i am using  LabVIEW 2013.

0 Kudos
Message 4 of 12
(3,295 Views)

Does this help?

Message 5 of 12
(3,280 Views)

Hi,

 

In your program have two timer, otter loop timer is 100ms.

 

It means you set delay timer 1000ms, and it delays 1100ms. 

 

I think u should fix it at first.

 

 

Patrick

Certified LabVIEW Developer
Message 6 of 12
(3,272 Views)

u are so nice.

 

This block diagram is clean and good-looking lol

 

 

Certified LabVIEW Developer
0 Kudos
Message 7 of 12
(3,269 Views)

Put your 100 msec Wait function into the FALSE case of the voltage ramping case. So when your VI in idle state, it iterates with 100 msec (it is good you slow down the iteration in idle state, do not hog your CPU). When your voltage ramping is active ("Start" button is TRUE), you will not wait another 100 msec. So during voltage ramp, you will have exactly the waiting time ("time for steps [s]) which you specified, and not +100 msec.

 

edit:

"This block diagram is clean and good-looking lol"

the "Clean up diagram button" can do magic (well, not always :)) ).

 

 

Message 8 of 12
(3,264 Views)

Blokk, thank you for aranging the  diagrams. Youre solution  dont work.

0 Kudos
Message 9 of 12
(3,262 Views)

You are going to the negative direction with voltage, just change the "Greater or equal" into "Less or equal".

0 Kudos
Message 10 of 12
(3,255 Views)