LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing line style

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. 

 

 

0 Kudos
Message 1 of 4
(2,737 Views)

The "pen" input to teh Draw Line.vi gives the option to select Line Style.

 

See attached

 

Dan

0 Kudos
Message 2 of 4
(2,705 Views)

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 

0 Kudos
Message 3 of 4
(2,699 Views)

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

0 Kudos
Message 4 of 4
(2,686 Views)