ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Indexing an array?

Hello!

We have an array of cluster and this cluster is an array and a signalname. We want to use the signalname to pick out which element of the total array to draw in a chart. See the attached VI. Any ideas? Thank you and best regards.
0 Kudos
Message 1 of 4
(3,031 Views)
Hi

The first idea that comes up is to go through the array of clusters and look at the name. If you use a while-loop you can break it, if you find the correct name in the cluster-array, and return the according array.

Hope this helps.

Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 4
(3,023 Views)
There are many possibilities.

One way would be to extract all signal names into a ring control, then use the ring control to extract the desired signal by name (see example, LabVIEW 7.1).

Message Edited by altenbach on 04-05-2005 12:42 AM

0 Kudos
Message 3 of 4
(3,024 Views)
Hello!

Thank you very much for your help! It was very useful for us!

Best regards.
0 Kudos
Message 4 of 4
(3,002 Views)