Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67346

Getting freshly edited value of Numeric control

$
0
0

I and my clients are dealing with an awkwardness which has been present in LabVIEW for years. The user types into a numeric field. Then the user, quite naturally, clicks a button. It seems that in LabVIEW's view the data entry into the text field has not been "finished" and my program sees the PREVIOUS value of the field. This can be dealt with if the user:
1. Presses Tab or Enter to complete data entry in the text field
2. Clicks the button a second time.

 

Both of these are quite nonintuitive and my users are getting tripped up.

 

I played around with this and discovered that for a STRING control you can pick the menu item, "Update value while typing" and then it does what I want. But for a NUMERIC control I find no such option.

 

What's the right way to deal with this? Is there a way that I can get the current, freshly edited contents of a numeric field immediately? Or do I have to turn all my numeric controls into string controls with type conversion, to keep my users happy?

 


Viewing all articles
Browse latest Browse all 67346

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>