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,537 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,525 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,521 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,518 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,504 Views)
0 Kudos
Message 6 of 6
(2,469 Views)