Discussão sobre Produtos NI

cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

RESETING START BUTTON IN A TIMER TO RUN JUST ONCE

Hello

 

I´m not a engineer, and use Labview to some student projects.

Now I need to use a countdown timer . I got the code in internet, and made some improves.

My problem:

- I need to use a push-botton = switch when press button..not latch push-button

- because that, when the conter reaches zero...starts again..

- I need some routine to become the START  push button to "off" state automatically , after it reaches  " time zero" or I press reset....And just start the countdown again when I press START.

Thank you

 

0 Kudos
Mensagem 1 de 2
2.662Exibições

What you're going to want to do is use a Property Node to change the value of the button. You'll call this property to set the value of the button. You create a property node by right clicking the control you want to change the value of, and select Create >> Property Node >> Value as shown in my screenshot. Then right click it and select Change all to Write so that you can set the value. Then you'll include this bit of code in a case structure to get called when you want it to be called.

property node in use.png

 

Value PN.png

 

C. Weeks
Product Support Engineer
NI
0 Kudos
Mensagem 2 de 2
2.557Exibições