Subject: 1D Index Array Extraction
Author: Martin
Date:   10/3/2011 4:54 pm EDT
Hey all,

I'm relatively new to using LabView and cannot figure out how to get this done.

I have 2 arrays, aray A and array B. I want to look up the specific values from Array B by analyzing Array A first and noting what locations, indexes, they are.

From Array A I am able to locate the locations, but it is in the form of a 1-D array of double. Now that I know the indexes of locations in interest,how do I extract the data from Array B?

When I try to use Index Array LabView gives the following error, 'source is 1-D array and sink is long'. Any help would be greately appreciated on how I can extract the data points from Array B by having an array of indexes of interest.

Example of what I'm trying to do

Locations / Indexes: 1 3 4
Waveform Array: 0 2 4 6 8 10

0 4 6

Thank you for your time
Reply To This Message

 Topics Author  Date      
 1D Index Array Extraction  new  
Martin 10/3/2011 4:54 pm EDT
 Reply To This Message
 Your Name:  
 Your Email:  
  Submission Validation Question: What is 97 - 16? *  
* indicates required field