LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cursor Lines

Hi,

 

Is there a way I can show the horizontal and vertical cursor lines while drawing a ROI line?

Refer image below.

 

V5iyE.png

 

- Sable

0 Kudos
Message 1 of 7
(2,697 Views)

Hi Sable,

 

in graphs you can use cursors and also change their properties to show lines…

Best regards,
GerdW


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

Thanks 

This is on an IMAQ image.

 

- Sable

 

0 Kudos
Message 3 of 7
(2,681 Views)

Is there a way I could turn on the cursor lines on the IMAQ image when drawing the ROI?

 

- Sable

0 Kudos
Message 4 of 7
(2,649 Views)

@Sable wrote:

Is there a way I could turn on the cursor lines on the IMAQ image when drawing the ROI?


I don't thing so.

 

You do have options, but it won't be easy.

 

If you want more power, you'll have to ditch all build in functionality, and go the DIY route. That means:

+ Show the image in an intensity graph, and use it's cursors and the picture overlay for drawing a selection box.

+ Or show the image in a picture control and do everything yourself. Both are hard, but once you get things going you do have all the power to customize as much as you want.

 

I'd go for the first option, as you get the cursor\coordinate handling for free. It's 'just' a matter of performing the right action (redraw selection) at the right events (cursor grab\move\release).

 

EDIT: Maybe the IMAQ image triggers events, and maybe you can draw the cursors manually based on those events. I'm not sure, and can't test it right now (no IMAQ installed). Worth a try.

Message 5 of 7
(2,632 Views)

Thank you 

 

How do I load a .jpg or .tif image on the intensity graph?

0 Kudos
Message 6 of 7
(2,589 Views)

Hi Sable,

 

load the JPG using the PictureFile functions.

Then use the PlotImage property…

Best regards,
GerdW


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