02-21-2007 10:16 PM
02-22-2007 06:03 PM
02-22-2007 09:50 PM
02-23-2007 01:11 AM - edited 02-23-2007 01:11 AM
@tungu123 wrote:
first of all, i change the xy graph from "indicator" to "control" condition. after that i will draw the circles or lines on this graph. but i do not know how to draw because xy graph is not allow to draw when it is "changed to control" condition.
I think you are not understading the basics of a graph. Changing a graph to a control does not magically turn it into a full featured drawing program. 🙂
Have a look at the above quoted examples. Basically you need some code to read mouse-down and mouse-move coordinates, map them to the graph scale, then generate the graph data. You can (and should) leave the graph as an indicator.
Open the example finder an look at example "draw graph with events". Let us know how far you get. Good luck! 🙂
Instead of a graph, you could also use a picture indicator.
If you have a newer LabVIEW version, you can use the "plot images" feature.
Message Edited by altenbach on 02-22-2007 11:14 PM
02-27-2007 11:00 AM