02-17-2016 01:41 PM
Hello everyone!
I am using LabVIEW 2015. I am working on a subVI that takes a variable and checks if it's between the upper and lower limits. Yes, I am aware there is a built-in "In Range?" function, and if you look at my VI that is exactly what I use. The difference is that this subVI displays a message to the user indicating it's an invalid input and to what value it was coerced. I'd like to be able to programmatically have the Variable control (whatever I connect to it, anyway) to have its label or caption passed through so that no matter what it's called the message will notify which control was coerced.
Any help appreciated!
Solved! Go to Solution.
02-17-2016 01:46 PM
You'll have to pass a reference to the variable instead of just the value. Or you could add a String control input that contains the caption text from the input. Either way, you can't get that information from the Variable DBL that you have input because all that is is a numeric value and contains no information about where the DBL came from.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'