LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array of String to Ring type conversions

hi friends,

                    i have a data in ini file. I have to read any one of the key value and convert into ring type.....If any one of you know about this help me..

0 Kudos
Message 1 of 18
(5,344 Views)

You can use Strings[] property of the ring control for that.

best regards,
Andrey.

0 Kudos
Message 2 of 18
(5,341 Views)
hi
     Am having 198 ring indicators.For that i have to use 198 property node...I think its not good..Is there any otherway

0 Kudos
Message 3 of 18
(5,339 Views)
Hi siva,

try this:


Ok you have a lot of rings: use a subvi in a FOR loop for setting all those rings... (Why do you need ~200 of them?)


Message Edited by GerdW on 06-26-2008 02:44 PM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 18
(5,338 Views)
Hi GerdW
                     Ya i knowI am having 198 ring indicators...So if we can use propertynode for each one is efficient????.Is there any other way...




Thanks....


0 Kudos
Message 5 of 18
(5,325 Views)
Are you serious? 198 ring indicators! Smiley Happy

Make all of them controls or indicators.
Get pane reference->Get all control references->Set strings[] parameters in a for loop based on label or so.
Go to FP and make all values default.

Maybe its even possible to programmatically save the controls as individual typedefs for reuse in the application.
Regards,
André (CLA, CLED)
0 Kudos
Message 6 of 18
(5,324 Views)
Hi siva,

you only need one property node (maybe in a subvi as expressed above). Then you need references to your rings: you can get them as Andre wrote or by creating them for each ringSmiley Wink
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 18
(5,313 Views)

Hi Siva,

I am curious.

Can you tell us a little more about how 198 indicators are being used in your application?

We may be able to be of greater assistance if we knew a little more about why the count is so high and how they are being used.

Trying to help,

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 8 of 18
(5,305 Views)

Hi, sivaramkumar,

I also will recommend to change something in your design. For example, if you need to visualize 200 elemenths in the same time, you can use the tables. If you need controls, then just imagine use case scenario, where one of 200 should be changed... How long time user will need for this action?

You can post your vi or screenshot of your front panel here and probably we will found better solution together...

Andrey.

0 Kudos
Message 9 of 18
(5,301 Views)

hi gredw

        As per ur statement i have to make reference for for all rings & pass into that for loop...Right????If it so, for each iteration i have to change the reference value...Am i right???

              
0 Kudos
Message 10 of 18
(5,292 Views)