08-15-2018 09:49 AM
I have a request from one of my shops to build a simple vi to monitor and plot orbits from proximity probes. I have the orbit well defined in a simple XY graph, but can't figure how to put the 'red' bullet on the leading point of the orbit. Is this task better tackled using a Polar Plot?
Solved! Go to Solution.
08-15-2018 09:57 AM - edited 08-15-2018 10:20 AM
Easiest way I suspect will be to add a second plot to your XY graph.
Make this plot consist only a single X,Y point (of the starting position).
Then you can set the point size and plot colour of this plot to whatever you need.
0xDEAD
08-15-2018 01:21 PM
You could use the plot cursor by placing it wherever on the plot you wanted to put it.
08-16-2018 09:55 AM
I would really like it to be automatic. I believe my best bet is to append it to the time data streams being fed into the 'Build Graph' vi. But this feed is continuous. How do I put it at the beginning of the orbit? It sounds like it might be best to build the array from a set of points, plot it and then repeat. Again, I am not real saavy on building arrays, let alone adding just one point and that point I want to be a red dot.
08-16-2018 10:14 AM
Example of deceased's post:
08-16-2018 02:57 PM
Thank You!!!!! I now have a 'red' open square riding my data orbit at the key phasor position! Now I just have to trim down the number of points in my filtered orbit. It overpowers the small red square. But I can handle that!
Cheers,
Ron
08-16-2018 03:17 PM
I guess I spoke too soon. The 'red' open square is on the end of the orbit, not the beginning, or the trigger point. If cut down the samples in my orbit, e the square follows the end of the trace and doesn't stay on the fixed end of the orbit. In other words, as I cut down on the samples, the red square follows the end point of the truncated orbit. It should stay with the lead point, no?
08-16-2018 03:32 PM
My apologies, I misread.
Not setting the indexes will give you the first coordinate. Changing the order of the graphs should leave the bullet on top.
08-16-2018 03:36 PM
YES!!!! Thanks again!