09-01-2006 02:27 PM
09-01-2006 03:22 PM
09-01-2006 03:26 PM
09-01-2006 04:43 PM
A couple of options:
One is to use a picture control to show the map, then use the drawing tools to add to the drawing and put circles for example wherever the sensors are located. You can use x,y coordinates to place lines, circles, etc onto a picture control.
A second option is If your sensors never move you could simply place whatever boolean lights you want on top of the picture for example.
As far as the ability of clicking on a sensor to display other stuff... one option may be to again use the picture control and then experiment with mouse click functions to determine where you are on the map and bring up the appropriate sensor maybe?
Im not sure about switching between controls and indicators on the fly.
Goodluck
09-01-2006 04:58 PM
09-02-2006 01:22 PM - edited 09-02-2006 01:22 PM
Message Edited by wrath_of_con on 09-02-2006 01:38 PM
09-02-2006 03:53 PM - edited 09-02-2006 03:53 PM
I have done the complete dynamic creation thing complete with left and right mouse clicks and mouse over.
It was all based in the LV picture control.
UncleBump gave a post to the thread where I originally posed the idea of drawing the control and JPD taught us all how to use the invoke image method to make the drawing easy.
A collection of picture control examples can be found in this thread.
http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=14&jump=true
I'd also like to direct your attention to reply #52 of this thread
http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=5&jump=true
where I used booleans to illustrate an "randow walk" version of the game "Hang Man" to spell out the classic phase "hello world".
Now if I could re-write this example to use the new 3D picture functionality...
Have fun,
Ben
PS If you customize your controls and indicators by importing your own images, ...
Message Edited by Ben on 09-02-2006 03:55 PM
09-05-2006 09:06 AM
09-05-2006 09:08 AM
Hi KM,
If you develop something that you think could help others, please post an example!
Thank you ,
Ben
09-05-2006 09:10 AM
sure... will definitely do so.. thanks
km