09-16-2014 05:19 AM
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.
09-16-2014 05:27 AM
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.
09-16-2014 06:23 AM
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.
09-16-2014 07:52 AM
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.
09-16-2014 08:08 AM
I was not able to download the file . can you mail me the VI anikrishnan@ymail.com
09-16-2014 08:41 AM
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
09-16-2014 12:16 PM
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
09-17-2014 12:01 AM
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.
09-17-2014 12:21 AM - edited 09-17-2014 09:49 AM
09-17-2014 01:44 AM
Thanks alot christain