LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to clear string control

hello,

after writing some input into string control and clicked "Ok" button, how to clear the string control?

Thank Smiley Happy

0 Kudos
Message 1 of 13
(5,520 Views)

You can write an empty string into the control using a local variable (requires state machine or similar as architecture) or value-property node (can be "sequenced" using error wire).

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 13
(5,517 Views)
how to write or read string after operation auto clear
0 Kudos
Message 3 of 13
(5,446 Views)
how to write or read string after operation auto clear
0 Kudos
Message 4 of 13
(4,662 Views)

Can you clarify your question?

0 Kudos
Message 5 of 13
(5,443 Views)
0 Kudos
Message 6 of 13
(4,659 Views)

Hope this leads you in the right direction

Derick Mathew
0 Kudos
Message 7 of 13
(5,407 Views)

Hope this helps 🙂

 

 

clearString.jpg

Derick Mathew
Message 8 of 13
(5,404 Views)
Can you please explain the method in detail, I have a string control and OK button so whenever I enter something into that string and press OK button the string field need to get cleared .. Can you help me in doing that
0 Kudos
Message 9 of 13
(5,094 Views)

If you can try creating new thread along with what you tried would be more better.

-The event structure is required to listen to the OK button event.

-Inside the event strcture you simply needd to pass empty string constant to the value property of string control.

-The image exactly does what you need.

Thanks
uday
0 Kudos
Message 10 of 13
(5,092 Views)