From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Set boundaries XY plot

Hi,

 

I have an XY plot where i need to see if the data falls in or outside a certain area, i can do this within a square like shape, but should this be possible with a round shape, a rotated square shape or custom shapes...:

 

Boy_with_violin.png

 

Best regards,

Thijs

0 Kudos
Message 1 of 2
(2,431 Views)

Hi Thijs,

 

one approach:

Create an image from your green shapes (with filled shapes) and use it as overlay (or background) image in the XY graph.

Now get the (frontpanel) coordinates of your XY point (using a method of the XY graph) and compare this coordinates with the overlay image coordinates. When you hit a green pixel you are inside the target structures…

Best regards,
GerdW


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