LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Interpolating multi-plot Graph

I am trying to convert captured Load over Time data and capture Position over Time data into a single graph that shows Load over Time. 

In the past I did something similar with only one Load plot.  But this time I have 39 plots and I can't seem to get it quite right.

I thought I had it.  But when I simplified things to try and confirm, I realized I still had a problem.  Right now my "test" program is only using 2 plots, but I still can't seem to get it. 

Can anyone shed a little light on what I might be doing wrong?

Is it even possible to do what I'm trying to do?  (I'm thinking it must be, but after spending this much time on it I'm starting to wonder)

Many thanks in advance. 
---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 1 of 4
(2,830 Views)

Patrick,

I decided to take a stab at this, but from your description and the example code, I can't figure out what you're trying to do. Could you clarify a bit? Are you trying to get Load vs. Position from 'Load vs. Time' and  'Position vs. Time' data? Was that a typo in your description?

 

Also, I don't know why you have the Rotate 1D Array vi's in your example with n=0. This leaves the array unchanged.

 

Regards,

 

Tom

 

Message 2 of 4
(2,822 Views)

Basically I'm collecting data from 39 Strain Channels at the same time I'm collecting data from one Rotary Encoder.  At the end of the capture, I have a 2D array of Strain Data and a 1D array of Position Data.  I would like to be able to graph Strain(X Axis) vs. Position(Y Axis).

 

The rotate array function was a leftover from an "example" I found internally.    I didn't realize that n=0 meant no change.  

---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 3 of 4
(2,819 Views)
I'm going to go ahead and post my own answer to this one. 

I'm not sure why this one was so difficult for me, especially since I was "almost" there.  I suppose I need a little more experience working with arrays.

Anyway, the chunk of code I'm putting up shows 39 channels with 201 "rows" of data being graphed against one channel of "position" data. 
---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 4 of 4
(2,795 Views)