LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Building a Selection Set (array)

LV 8.5

 

Hi all. I am having trouble with a sub-vi that's purpose is to take a long 1D array of raw data and allow the user to select sections to build a 2nd, shorter test set array. It must also be able to point to the array index for the selected (and selection set) values as they are actually index values in themselves.

 

I tried using the sub-vi nodes as input=control, output=indicator but could not come with a method. So I tried using input writes to indicator, then read property value of the indicator. I still can't read the value and the index. I'm sure this is proven technology. How is it normally done?

 

Labview 8.5
Meas Studio 2008
Download All
0 Kudos
Message 1 of 3
(2,472 Views)

walter,

 

To clarify, do you want the values added to the output array at a specific location or just prepended to the array?  Currently, your first example takes whatever element you have specified from the first array and just adds it at index zero to the second array.  Can you provide a little more explanation of exactly the behavior you are going for?

 

James K.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 3
(2,433 Views)

This is back-saved from LV12, and I don't have LV8.5 around, right now, to try it.

 

0 Kudos
Message 3 of 3
(2,420 Views)