From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Gauge scale is not writable

Solved!
Go to solution

Hello everyone,

 

I have a Cluster with a few buttons and numeric controls. I want to drop a Gauge inside this cluster and set the scale dynamically in the program.

 

1. The gauge is now a control (?) which I can grey out but still looks like poor design

2. I cant control the gauge scale using the property node (The option 'change to write' is greyed out and not available

 

EDIT: The cluster is a typedef

 

What am I missing?

0 Kudos
Message 1 of 9
(2,550 Views)

Can you show your typedef and code example?
My test has no this problem

0 Kudos
Message 2 of 9
(2,534 Views)

Hi s.h.,

 

1. You can also disable the gauge without greying it out…

2. You cannot create a "value" property node for the gauge and write a new value into this property?

 

Is the cluster a strict typedef?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 9
(2,515 Views)

It is a strict typedef and there is the problem I suppose. With Elements or normal cluster I have no problems.

 

Is it possible for strict typedefs?

 

If not I will reduce the scale from 0-100 and have to display the value somewhere seperatly (not the most elegant solution)

0 Kudos
Message 4 of 9
(2,507 Views)

make typedef without "strict"
If you want modify view of control, it's not a strict.

0 Kudos
Message 5 of 9
(2,499 Views)

Strict typedef is not the problem.

 

I have three typedef cluster

 

Master (typedef strict)

 --- Slave1 (typedef strict)

 --- Slave2 (typedef strict)

    |---- Indicator1

    |---- Gauge

 

With the standalone typedef there is no problem but nested inside anther some write property nodes may not allow writing operation

0 Kudos
Message 6 of 9
(2,496 Views)
Solution
Accepted by s.h._tech

Did you make all levels of your typedef's non-strict?

 

I don't mess with strict typedef's, so I'd have to experiment to be sure, but the highest level typedef being strict might be essentially locking the view of the lower level typedefs.

Message 7 of 9
(2,472 Views)

There is one more problem with typedefs in UI. If you adjust the view in VI (size, color, captions, etc) and then modify typedef data, it will reset the VI view to the view of typedef. So on front panel I either use strict typedefs or not type defs. 

I have added Idea to apply typedef front panel appearance to typedef file, but it is not popular.

https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Apply-appearance-to-typedef/idi-p/3899699?profile.lan...

Message 8 of 9
(2,442 Views)

Since the two Slave clusters are 'strict-typedefs 'and the master is just the datadump for better visibility in the BD the master can be set as 'typedef'. Now I can access the propertys of the slaves.

 

Thanks for the help

0 Kudos
Message 9 of 9
(2,417 Views)