04-19-2016 10:52 PM
Hello All,
I'm working with LabView to stream data from an accelerometer to display signals from the x-axis, y-axis, and z-axis. I''m curious as to know which chart/graph should I use to be able to plot these points from the x-axis, y-axis, and z-axis. If I need to create a code to the graph, how do I go about doing so? Thanks in advance
Theopolis
04-20-2016 02:00 AM
@Theopolis wrote:Hello All,
I'm working with LabView to stream data from an accelerometer to display signals from the x-axis, y-axis, and z-axis. I''m curious as to know which chart/graph should I use to be able to plot these points from the x-axis, y-axis, and z-axis. If I need to create a code to the graph, how do I go about doing so? Thanks in advance
Be specific with your question . Using which device you are goin to measure the Accelerometer data???
If your going measure using a DAQ See to the link http://www.ni.com/example/31407/en/
which explains the process clearly.
Hope this helps
Kudos Welcome 😄
04-20-2016 05:43 AM
How about 3D Line plot graph FP->Graph->3D Graph->Line Graph ?
04-20-2016 05:47 AM
A graph only shows the last thing you wrote to it. A chart keeps a history and adds to what is displayed. My guess is that you just want a standard chart, assuming you are continuously reading the accelerometers in a loop.
04-20-2016 05:49 AM
Sure, yet there's always posibility to store previous values in shift register (3D line plot graph seems to be easy-to-use tool for this application) 😉
04-20-2016 11:24 AM
I just helped some students do exactly this -- it was much easier to help them because they brought (and showed me) their code so I could (a) tell what they already knew how to do, (b) interrogate their code (they were using Express VIs, so most of the details were "hidden") to see their sampling rate, sampling method, number of points, etc., and (c) see how they were processing the data that they had.
They'd figured out how to plot X, Y, and Z on the graph, but they also wanted to compute the magnitude of the acceleration 3D vector and plot that as well. Not too difficult.
If you do decide to show us your code, be sure to attach VIs, not pictures of the Front Panel and Block Diagram (it's very difficult to press a button on a picture of a Front Panel, or to expand Express VIs on a picture of a Block Diagram).
Bob Schor