LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arrow in Graph

HI,

 

    I have a graph with x axis as speed and y axis as time. I need to display an arrow at certain data points not for all data. I have attached a jpg of my graph, the numbers in green colored are displayed using annotations of xy graph. I need to display the yellow arrows at certain data values as shown in the jpg.  

0 Kudos
Message 1 of 4
(3,344 Views)

Hi jay,

 

you can use Annotations (there's an example VI for exactly that purpose) or an additional plot to "draw" the arrows in the XY-graph...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(3,337 Views)

HI,

 

 

   I tried using those examples but was not able to point arrow at certain points. I have a continous running data the arrow is visible at all data points but when i make invisble at certain points nothing is happening. If u have any other idea of displaying arrow on a continous running data please do post it.

0 Kudos
Message 3 of 4
(3,302 Views)

An alternative is the PlotImages.Front property for waveform and XY graphs. It will take some work to get the position right, but you should have all the coordinates and positions you need. You can use the Picture Functions pallette to create the image (on the functions pallette, under Programming > Graphics & Sound by default). Probably easiest if you save the arrow as a PNG image and load it when you initialize your VI.

0 Kudos
Message 4 of 4
(3,282 Views)