07-15-2011 08:59 AM - edited 07-15-2011 09:01 AM
Hi everyone,
I've got two graphs that display data:
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
07-15-2011 09:44 AM
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.