09-19-2016 01:36 PM
I'm building a simple form in LabView to talk with a device over cameraLink. I can read and set data fine, however, I'm attempting to build up a form with all of the possible configuration values in either text boxes or numerics.
What I would like to accomplish is to use a GET button and a SET button to pull data from the text box and write it to the device, and also being able to read data back from the device and update the text box as appropriate.
The communication back and forth works, but I seem to be forced to have a seperate INPUT and OUTPUT textbox instead of just using a control.
Is there a way to use a single textbox as both an INPUT and an OUTPUT?
Solved! Go to Solution.
09-19-2016 01:47 PM
You could use either a local variable or a property node to write to a control
09-19-2016 01:56 PM
09-19-2016 02:27 PM
You need to make it a control so it can be operated at run time.
If you only need to write to it from within the same VI, use a local variable (not a value property node!)
If you have two modes depending on program state (read or write) you can disable it in the state when it should not be able to be edited by the user.
Most likely, you need to validate the string input to make sure it is formatted correctly before sending it to the device.
09-19-2016 04:27 PM
Thanks! That was the solution I was looking for.