Hello,
You would need to acquire the image, then draw the line on the image (overlay) and then save the overlay information with the image.
The following link will take you to a set of
Overlay Examples where the fourth example program continuously acquires frames from a camera. Pressing the "Extract Image" button transfers the image to another buffer, displays it in a viewer, and superimposes it with a rectangular overlay. Saving the image to another buffer prevents a "Locked Out" error message.
You can replace the rectangular overlay with a drawline overlay.
Good luck with your application and have a great day!
Reg
ards,
Koninika
Applications Engineering
National Instruments
http://www.ni.com/support