In LabVIEW I have to draw lines automatically ( Both vertically and Horizontally) the user will define the no.of vertical and horizontal lines.
Is this possible using LabVIEW
Thanks in Advance
Solved! Go to Solution.
How and where do you want to draw lines? Just as a display for the user or does it has any measurement? Please explain your scenario.
The lines does not have any measurements .But all the horizontal lines should of same length.
The drawn lines will be saved as an image.
lines willl be drawn in groups by leaving some space between each groups ( the size of each group that is no.of lines in each group will be defined by the user)
This will be saved as an image. The lines will be drawn in a blank image.
Attached is an example for you to start with. You can export that image thorugh code and also manually.
Since I am facing some problem I have changed the extension from .vi to .png, please change it back and use it.
I was not able to download the file . can you mail me the VI anikrishnan@ymail.com
The lines i Have to cretae is one which like am attaching.
In the image the lines have curves but I dont need that. the no.of lines will be given by the user
Use the 2D picture control. On the palette under Graphics and Sound >> Picture Functions there are several functions for drawing. There are also many examples under Help >> Example Finder on how to draw on the picture control.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
Use the 2D picture control. On the palette under Graphics and Sound >> Picture Functions there are several functions for drawing. There are also many examples under Help >> Example Finder on how to draw on the picture control.
Thanks alot christain