em 08-10-2019 11:20 PM - editado pela última vez em 08-12-2021 02:51 PM por NIadmin
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
em 08-19-2019 01:30 PM
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.