LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Overlay Rectangle problem

Solved!
Go to solution

Hello,

I am trying to Overlay Roteted rectangle and fill it inside.

I can't do it by IMAQ Overlay Rectangle - it doesn't accept rotations

So I onvert Restangle to ROI and I use IMAQ Overlay ROI but now I dont have fill option 🙂

 

Do You know  way around this??

0 Kudos
Message 1 of 3
(4,076 Views)
Solution
Accepted by topic author pawhan11

Dear Pawhan!

 

As far as i'm aware, you can have Rotated Rectangle overlays in Vision Assistant, so you can set one up in VA and create a LabVIEW VI from there. If you want to stick with LV Vision, try this code:

Rotated rectangle.jpg

Please tell me if this works for you.

 

Best regards:

 

Andrew Valko

NI Hungary

 

 

 

Andrew Valko
National Instruments Hungary
Message 2 of 3
(4,058 Views)

Thanks, this solves my problem 🙂

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