08-15-2012 11:41 AM
Using multiple external display images how does one create unique events that will be recognized by the event structure when a line is drawn on any one of the images for instance.
08-17-2012 01:19 AM
Hi Lammi,
Can you provide a bit more detail regarding your application? Primarily, when you say that you are displaying images, how are you displaying the images? Are you using a picture control or an IMAQ image display an image on a LabVIEW VI front panel? Are you doing something similar to the example VI "Draw Graph with Events" in the example finder under Building User Interfaces > Keyboard and Mouse?
08-17-2012 07:33 AM
Thanks for the reply. Yes it is an IMAQ app. Am using two monitors so the UUT image, or multiple images, can be as large as posible so during analysis a line tool ,etc can be positioned with some degree of accuracy. From the VI that creates these images I am using "Vision Utilities" > "External Display" VI's. What I would like happen, for instance, is by drawing a line in either external image display a line intensity profile on a line graph from the main VI. I can get this to work successfully but functionally not the way I need. By placing code in the "Time Out" event sequence and wiring a value of, say 5, to the time out termanal of the event structure it does what I want, however I do not want this being poled all the time but want each new draw event to cause a seperate event only after the line has been drawn for more functionality and control. So how can I get the event structure to see a line drawn on an external image to be seen by the event structure to fire an unique event?