LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

extract boolean value from variant

Hello, Sorry for my incomplete explanation, but if you are given that specific stop button in an exam, can you modify it to your suggested solution and not lose any points?. 

0 Kudos
Message 11 of 16
(1,315 Views)

Hello, how would you typically go about resetting the button to its default value?

0 Kudos
Message 12 of 16
(1,311 Views)

@hiNI wrote:

Hello, Sorry for my incomplete explanation, but if you are given that specific stop button in an exam, can you modify it to your suggested solution and not lose any points?. 


Command buttons should be latched.  I am not sure about losing points for changing the mechanical action (I would guess that you would), but you definately would lose points for the local variable or property node for resetting it.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 13 of 16
(1,307 Views)

Hello, thanks for your input.  I see that in order to overcome then the local variable, I would have to use the shift register.  How then would you go about resetting the button without using the property node value?

0 Kudos
Message 14 of 16
(1,303 Views)

@hiNI wrote:

How then would you go about resetting the button without using the property node value?


 

A latch action button resets itself. Just place thee terminal in the dataflow.

0 Kudos
Message 15 of 16
(1,284 Views)

@hiNI wrote:

Hello, thanks for your input.  I see that in order to overcome then the local variable, I would have to use the shift register.  How then would you go about resetting the button without using the property node value?


By doing one of the options I gave you here.  By having the button set to "Latch When Released" and putting the terminal in the event case, the button will "reset" when the event is handled since that is where the terminal is read, causing the unlatching to happen.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 16 of 16
(1,265 Views)