11-13-2013 07:20 AM
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.
11-14-2013 07:36 AM
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.
11-14-2013 03:11 PM
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,