LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Draw multiple Lines at x interval across a bmp image?

Solved!
Go to solution

Hi,

 

I'm trying to automatically draw some lines across a .bmp image at regular intervals.

 

I have looked at using the Draw Line and Draw Multiple Lines.vi but it only has settings for the end point so all lines originate from co-ordinates 0, 0.

 

What I would like to do, is if the image is 200x200 and the spacing is every 10px, it will draw a line on the tenth pixel, then every ten after until the end of the image.

 

What is the best way to approach this in LabVIEW 2010?

 

 

 

 

 

 

0 Kudos
Message 1 of 2
(1,893 Views)
Solution
Accepted by topic author Aidan85

For each line, you would first use "move pen" to the start location, then "draw line" to the other end. Repeat.

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