LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically Changed Data Entry Limits not Accepted to Values

Solved!
Go to solution

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

0 Kudos
Message 1 of 5
(3,440 Views)

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.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 5
(3,427 Views)

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").

 

0 Kudos
Message 3 of 5
(3,398 Views)
Solution
Accepted by topic author NiklasN91

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.

Matt J | National Instruments | CLA
0 Kudos
Message 4 of 5
(3,382 Views)

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.

0 Kudos
Message 5 of 5
(3,353 Views)