10-18-2016 02:22 AM
Fnds, I would like to display the position of motor X& Y simultaneously in XY graph. I am providing the Vi below for your simplicity. Please let me know, where I am going wrong, or what else I need to do.
10-18-2016 03:08 AM
Hi reshmi!
In your example MOTOR SPEED 3.vi you plot only a single point to the XY-graph. To get more than one point in your XY-graph you must collect the data in an array. Please check out this example Displaying Last N Data Points to XY Graph in the community.
10-18-2016 03:36 AM
Hello,
I'm not pretty sure whether you really should display the position of motor on X & Y Graph - I believe you want to display how the position changes over time? If so below you can find two examples how it can be accomplished (using waveform graph):
If you want really display on XY graph the current position (in 2 dimensions), here you'll find an example: (if you don't see the dot on the graph, go to the properties of it and see the Plots tab):
Marcin
10-18-2016 04:10 AM
thanks for your suggestion. But as I am new in LabVIEW, so can u suggest me the steps, as how can I get this X & Y value. Then its wiring connection.
10-18-2016 05:42 AM
I cannot tell you step by step because it highly depends on your particular application.
In which format you get the data from the DAQ card? It is some kind of encoder, voltage or ...?
Provide some more information so maybe I will be able to help 🙂
10-18-2016 07:00 AM
from DAQ, I am getting the encoder data. I am plotting this data in graph. How can I create an array of data from this waveform.
10-18-2016 07:04 AM
Can you please provide the example set of data?
10-18-2016 02:18 PM
didnt get your point...what you actually need?
10-18-2016 02:40 PM
The data you get from the encoder - you said that you want to plot the position of the motor on thy XY plane, right? So, to help you I would need the data you get from the encoder 🙂
10-18-2016 11:44 PM
I am bit confused regarding your requirement. So can u tell me in which format you need the data. By attaching an encoder to the motor, I am aquiring its signal through DAQ Assistant. The output from DAQ is viewed in a waveform. I have already attached a VI previously. So can you guide me further.