LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

relate two 1d arrays

I have a vi set up to build two 1d arrays of data more or less on a timer, with 10 data points each.  I then use those arrays to create an XY graph.  What I can't figure out how to make work, is then feeding labview the x value, and returning the y-value.

 

I get the feeling it's just a matter of data-type, as I think it should be simple using the interpolate 1d array function.  Just can't figure out quite how.

 

One last note.  I realize I'm using a function to create a graph from which I'm trying to read the function.  Just simulating controling a servo to operate a valve, and correlate position and gpm.

 

Readfromgraph.JPG

0 Kudos
Message 1 of 3
(2,338 Views)

I hate to say it, but I can't figure out what your question is from the message and screenshot you posted.

 

You are doing a lot of work with graphs and the Express VI's.   Just barely mention something about interpolate 1-D arrays and data types, and your subject line is "relate two 1D arrays".

 

I'm going to take a stab at trying to figure out what you are doing.  I'm going with "relate two 1-D arrays" and "interpolate 1-D arrays"  and ignore anything to do with graphs.

And if I'm right, it would look something like this:

 

 

If I'm wrong, please explain more clearly.

Message Edited by Ravens Fan on 10-17-2009 05:31 PM
0 Kudos
Message 2 of 3
(2,318 Views)
Exactly what I was trying to figure out.  Thanks.
0 Kudos
Message 3 of 3
(2,308 Views)