LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

precision property error

I need to see the precison of a control from another control.  however i keep getting error 1435

 

can't seem to fix it....any advice

 

 

 

 

0 Kudos
Message 1 of 7
(3,739 Views)

You should take a close look into your VI. You have to numeric controls, one is double, the other is u8. Now you created a property node for the u8 numeric control, selected the property precision and wired the output of the u8 control to the input of the property node.

 

Error 1435 is a bit misleading here since it tells you that you can only pass values between 0 and 8 to the property.

 

What really happens is that you try to set a property from a control by using its own value.....

 

hope this helps,

Norbert

 

PS: Controls are not designed to show values, but to enter values....

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 7
(3,737 Views)

Thanks for the input but the property is for the Numeric Cotrol not for the u8

 

This was a sample vi to show what i was talking about and I created the u8 control by right clicking on the "Precision" property node of the "Numeric" control and selected Create > Control.  I wanted to get a control that was to the exact specifications of the "Precision" Property node

 

If you look at the new vi, I created a separate property node for the u8 to show the difference

0 Kudos
Message 3 of 7
(3,733 Views)

Well, you are correct, i mixed up the controls... nevertheless you said, you want to see the precision but you actually try to write it.

 

On this other hand, this behaviour seems not to be correct. What version of LV are you using?

 

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 7
(3,727 Views)

Gna, i should keep reading and trying before posting....

 

The behaviour you are seeing is expected. The double control is configured to "automatic formatting", so changing properties will be difficult from time to time.

You have to switch to "floating point", then it works.

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 5 of 7
(3,724 Views)

I also got this happened many times.  the messages appeared like below.

what I did is , that go to find the controls or indicators, and change the data type from automatic format to floating point, and run the project again, the message disappeared, even you go back to change the data type back to automatic, the message did not happen again.

anyway, the issue can be fixed by this way, even I do not konw the reason.

just for your reference.

 

 

 

 

Powerdou_0-1649815720560.png

 

Message 6 of 7
(1,738 Views)

Apparently the default behavior of the Format property is readonly. I ran into this issue after upgrading to Labview 2022; the solution is to create a second property node for Display Format: Format and wire 0 as your value. This makes the property writeable again. Place this before any Display Format property, such as Format or Precision.

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Xq2SAE&l=en-US

AllisonSCJ_0-1683807607617.png

 

Using Labview 2022, Windows 10
Message 7 of 7
(1,144 Views)