From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

SystemLink Forum

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a swtich control the output of a text?

I have two widgets, one is input (switch) and the other is output (text). I want to control the text output by the switch. When switch is on the text value is ('Switch is On') and when the switch is set off by the user, the text output is ('Switch is Off').

 

What event should be attached to each of them? ('Binding updated/User Input/...). I don't what script to use so that the communication between the input and output works..

 

I would be grateful if you can provide me with a simple example. Thanks

0 Kudos
Message 1 of 1
(2,110 Views)