From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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: 

Save control\Indicator properties into .bin file

Hi All,

 

1. I want to get all the properties of the indicator\control and save the same into the bin file.

2. And i want read these properties in another VI.

 

For the first point, is there any way to save all the properties like, font size, position, bounds and etc. Or i should get all the properties by using property node for each property?

And with the second point, I am able to do it, no issues with it.

 

Any help is appreciated,

 

Thanks, 

Yogesh

0 Kudos
Message 1 of 6
(2,534 Views)

Hi

The easy way is to make your controls/indicators as typedef / Strict typedef.

---
Silver_Shaper | CLD
0 Kudos
Message 2 of 6
(2,522 Views)

Hi,

Yes, making typedef will copy the properties, but i want to get the properties with the monitor resolution set to different values. I want my application tobe used at different monitor resolution. So, I will save the control, indicator and decoration properties, save it in bin file. Wen the screen resolution changes apply respective properties and th UI looks fine.

 

So, I need to save the properties into bin file.

 

Thanks,

Yogesh

0 Kudos
Message 3 of 6
(2,518 Views)

Hi what about vi properties windows size option are you checked it out?

 

Capture.PNG

 

---
Silver_Shaper | CLD
0 Kudos
Message 4 of 6
(2,515 Views)

Hi,

Yes this is also an other option. But sometimes, the controls will overlap and results in messd-up UI.

So I opted this option. 

 

Any other way of doin the same guys?

 

Thnaks,

Yogesh

0 Kudos
Message 5 of 6
(2,501 Views)
0 Kudos
Message 6 of 6
(2,466 Views)