03-31-2012 09:00 PM
I am trying to develop a Labview program that allows users to draw multiple circles on a picture. I use the built-in Draw Circle by Radius.Vi. However, it does not allow users to adjust the location and radius of the circle once it is drawn. Is there a way to work around it? I am hoping to do it without the Vision Module. Thanks for your help.
03-31-2012 09:29 PM
It is designed to programmatically draw a circle. Are you saying you want to draw it interactively? You will have to program your VI to handle some mouse events.
Then you will need to keep your old picture and keep drawing a new circle into the old picture on every event of the mouse until the user somehow ends the drawing operation. Then you keep the new picture and use that for the next operations.
04-02-2012 04:13 AM
Attached is an example that might help get you started. I modified one of Nationals vis so that it draws circles that you can resize when they are created. Note that the example just does a small subset of what you need but it does show some techniques that will be useful.