01-12-2015 06:39 AM
Hey there,
I need to change data Entry limits programmatically, but if there are values in the array, they don´t get coerced to new limits.
Is there any possibillity to accept new data entry limits to existing values?
Niklas Nawrath
Solved! Go to Solution.
01-12-2015 07:01 AM
You must use the Data entry limits to restirct the data entry within a limit and the "Response to Outside limit" property to co-erce/Iggnore the value which is entered outside the limit.
01-12-2015 10:07 AM
Data entry limits are only applied (afaik) when the user enters a value. If a value is already present and the data entry limits change it won't be applied as you have noticed. It is also possible to programmatically set a value outside the data entry limit.
If you want to apply new limits to existing values you will have to do this programmatically (using "In Range and Coerce").
01-12-2015 11:52 AM
Niklas,
What version of LabVIEW are you using? I was able to reproduce your issue in LabVIEW 2011 but this seems to be fixed in 2014. I messed around with reading the values of the array and writing the same values(signaling) into the array to see if that makes the values coerce, but it only seems to coerce the final array value for me.
Unless you want to upgrade LabVIEW I would second the suggestion of using the in range and coerce function.
01-13-2015 04:31 AM
Hey there,
Thank for the answers!
I use LabVIEW 2013, but will update to 2014 in the future. I tried to write the values like Jacobson, and had the same results.
If it is fixed in 2014, I will wait for the upgrade.
Thank you.