LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Merging Graphs - Three Variables.

Hi everyone,

 

I've got two graphs that display data:

  1. Force (in Newton's) vs. time
  2. Displacement (in mm) vs. time

The force and movement are measuring the same object, so both graphs use the same time constant. What I'd like to know is, how can I graph force vs. movement over time? So lets say I know the entire process takes 2 seconds, how can I display the force vs. displacement data for that 2 sec period on a graph?

 

The problem I'm having at the moment is the graph only displays a single point, rather than plotting a line for force vs. displacement for the two second time period.

 

I hope you can understand where I'm coming from.

 

Thanks,

Paul

0 Kudos
Message 1 of 2
(2,175 Views)

You would use an xy graph.

 

It would help if you could attach your VI or at least show an image, because your words are not sufficient to uniquely describe what you have.

 

Are the force and displacement two arrays? In this case make them into a complex array and wire to the xy graph terminal.

 

Are the force and displacement simple scalars that you graph on a chart as new points arrive? In this case you either need to build the complex array in a shift register or use the build xy graph express VI set to retain data between calls.

0 Kudos
Message 2 of 2
(2,167 Views)