LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reference of numeric indicator becomes invalid after changeing unit?

Hi,

I found a problem in a LV7.1 program:
I have a main vi showing several measurement values including pressure values. Those values are displayed by showing units (usually kPa). Several subvi's are allowed to display the actual value in the main vi by providing a reference to those indicators - the reference is provided at the start of the program.

Now the problem:
When the user is changing the unit of the indicator (let's say from kPa to bar or even simpler Pa) the property node is giving error #1000 ('incompatible state'). (attached vi shows this behaviour...)
While testing the attached vi I found a second problem: when changing the unit of a different indicator the property node is also giving an error?!?

Why does changing the unit creating an 'incompatible state'?
When wiring directly to a terminal I can change to any (compatible) unit without problems, but using property node 'value' gives an error?
Why does the property node give an error, when a different indicator is changed?
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 1 of 3
(2,512 Views)
Hi GerdW

I agree this seems to be a bug in LV 7.1. I also tested the VI in 8.20. It runs fine there, you can change both units without errors.

Regards, Daniel

0 Kudos
Message 2 of 3
(2,506 Views)
Hi Daniel,

that's nice - but I can't change the measurement setup to LV8.2 Smiley Sad

Now I'm changing all this to a LV2-style global (thanks to the last community nugget!)
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 3
(2,501 Views)