HI! I wanted to draw thicker lines in a picture control in LabVIEW 6.1. I found some posts where they mentioned that I have to edit the according VIs. So I played a bit around but didn't get it working. I'll attach pictures of the diagrams of "SetPen.vi","DrawLine.vi" and "DrawMultipleLines.vi". Can anybody tell me what to change or provide a suitable vi? Is there a tutorial where the code and the generation thereof for picture controls is explained?
You can code new VI and this your VI draw thicker line by using SetPen.vi and DrawLine.vi. Input parameter will be start end end point and thicker parameter and your VI draw between start and end point small lines. :-))
Hi JCC, I came already to that point that I will have to edit the vis or comine some of them to a new one. But still I don't know what I do have to change in order to get a thicker line! ANDY
I do have the LV 6.1! I think your picture is from a different Version because I don't have the PEN Input. Maybe can you post a screenshot of the draw line diagram. Maybe I can figure out what I do have to edit in order to get this done? Thanks ANDY
I couldn't get it working. I don't know how the picture control interprets the String after the typecast was done! I think I'll post the question again with the hint that I'm using LV 6.1 Best Regards ANDY
I do not know of a specific method created for increasing the width of a drawn line. However, you can create your own method to build a thicker line by combining multiple lines. Attached is a small example to get you started.
thanks for the hint. I think that will bring me to disired functionality! By the way: do you know how this string code which is generated by the functions will be interpreted by the picture indicator and if the interpretation rules are different from LV 6.1 to LV 7 ? Is there information anywhere about that?