02-14-2011 03:23 PM
Hi,
I'm using Draw Line function in Labview 10 to draw some lines in the front panel programmatically (the start point is given and I change the end point using a for loop). However, I don't want to use the default line styles and want to show the line with some arrows (like replacing the small dashes in dash style with some small arrows, or replacing the solid line style with a solid arrow).
Is there any way to do this?
Thanks in advance for your help.
02-15-2011 02:09 PM
The "pen" input to teh Draw Line.vi gives the option to select Line Style.
See attached
Dan
02-15-2011 02:15 PM
Thanks Dan, I know about the pen input but I don't want to use these default styles. As I mentioned I'm trying to define and use new line styles
02-15-2011 03:21 PM
I apologize, I did not read your post (and requirements) fully. What you are looking for may be a bit tricky but could still be done using the Draw Line.vi. You just need to construct the arrows, dashes, etc. by moving the current pen position (Move Pen.vi) and the appropirate end point input to the Draw Line.vi. An additional option might be to create custom image files of the line styles you deire and overlay them on your image.
Dan