ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding the 'red' bullet to the start of an XY orbit plot

Solved!
Go to solution

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?

0 Kudos
Message 1 of 9
(3,877 Views)

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

0 Kudos
Message 2 of 9
(3,872 Views)

You could use the plot cursor by placing it wherever on the plot you wanted to put it.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 9
(3,836 Views)

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.

0 Kudos
Message 4 of 9
(3,811 Views)
Solution
Accepted by topic author Coryman

Example of deceased's post:

 

snip.png

Message 5 of 9
(3,804 Views)

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

0 Kudos
Message 6 of 9
(3,788 Views)

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?

 

0 Kudos
Message 7 of 9
(3,784 Views)
Solution
Accepted by topic author Coryman

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.

 

snip.png

Message 8 of 9
(3,779 Views)

YES!!!!  Thanks again!

0 Kudos
Message 9 of 9
(3,773 Views)