LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bresenham's Line Algorithm Library

Hi

 

I want the example code or Library of Bresenham's Line Algorithm for LabVIEW 2013.

I want to drawn the line to continous to fix the enclosed picture.

 

Thank you.

0 Kudos
Message 1 of 3
(3,020 Views)

This algorithm is not explicitly exposed in LabVIEW, but it, or variants of it, are available using the graphs, charts, and picture control drawing tools.  You can also program it directly yourself using math and bit shift operations if you need to ensure that you are using Bresenham's algorithm and not a later variant.

 

I would probably use a picture control, load the graphic, then draw lines to complete the figure.

Message 2 of 3
(2,967 Views)

Greetings good_ni

 

There is one example in the Community for LabVIEW 2009, but you can open it in LabVIEW 2013. Have a nice day.

 

https://decibel.ni.com/content/docs/DOC-7207

 

Warm Regards, 

Luis J.
Applications Engineer
National Instruments
Message 3 of 3
(2,952 Views)