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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

X Control Add two numbers

How do you have a Xcontrol with two numerical controls and add the numbers together and return them on the data output.

 

I created the two numerical controls, put them in an event for when they change, and write the output to the data and have it be passed as a variable to my program.

 

I can get the two numbers to add, update an indicator on the xcontrol front pannel, but it won't write to the data output! The output just reads 0!!!

 

What setting am I missing?

0 Kudos
Message 1 of 3
(2,103 Views)

Did you set the "Data Changed" boolean to true

0 Kudos
Message 2 of 3
(2,084 Views)

That did it!

Don't know how i missed that,Thank you, I really appreciate it.

0 Kudos
Message 3 of 3
(2,076 Views)