LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to create two rings. Depending on the seletion of the 1st one the 2nd will show differents options and How I create an array of strings?

I want to make two rings to be dependable and want to know how to make an array of strings
0 Kudos
Message 1 of 3
(2,374 Views)
I am assuming that your only question is how to make an array of strings. There are two ways, either way is identical except for the location and effect. All you do is drop a blank array, and then insert into that blank array, a string. If you do this on the front panel, you drop in a string control, and have a result that is a control array of strings. If you do it on the diagram, you drop in a string constant, and you are left with a constant array of strings.

As for making dependent rings, that is up to you. I assume you know how to insert an array of strings into the ring by using the property nodes.
Message 2 of 3
(2,374 Views)
Attached is an example showing one way to implement the basic structure of the application. It shows the interaction of the two controls and the parsing of the second control's value.

If you have any questions on how it all works, just let me know.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 3
(2,374 Views)