LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using a sub-vi to write the strings of a ring inside a cluster on the main VI.

I have an array of ring controls in a cluster on my main VI. Now I
want to use a Sub-VI to fill in the strings of the text ring from an
array. I tried refnums and property nodes and "to more specific
class". I can access the ring array but whatever string I write in
there doesn't show up. Can anybody please give me an example of how to
do this? I am using LabVIEW 6.02

Thanks
0 Kudos
Message 1 of 2
(2,793 Views)

Hi sefnotu,

I believe I can describe two methods that will help.

Easy
Go to the front panel and use the selction tool to select ONLY the
ring control in the the array in the ... (repeat as required).

RIght click on the ring and select create>>>reference.

You will then have a properly configured reference to get at the
properties of the ring.

Now drop a property node and select the "[Strings]", right clcik and
make change to write.

Right-clcik and select create control.

Go to your FP and rn the VI. The ring should have no strings.

Populate the string control and re-run. The rings will now have be
populated.

Go to the diagram and select the property node and do a "create
sub-VI".

Run the VI again with different strings.


Harder

I will spare you
the details. Summarized in the attached diagram.

Ben



href="http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True&HUserId...

Certified LabVIEW Developer
www.DSAutomation.com

Message 2 of 2
(2,793 Views)