LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need IMAQ WindDraw to fire an event

Let me start off by saying that my system is LabVIEW 7.1.1 with the latest Vision toolkits installed.

I am using the external display VIs to show an image. I need the user to have a toolbar beside/above the image with a large selection of things that he/she can do to the image. I started out creating this as one large FP with an image control, but my customer likes the floating window with separate toolbar better. I was using an event structure to get where and when the user selects something in the image. Is there a way to get an event to fire from the external display window? Maybe something involving user events?

Thanks for your help,
Bob Young
0 Kudos
Message 1 of 3
(2,627 Views)
The only way that I could do this was to set up a separate while loop that ran 'IMAQ WndLastEvent' to monitor the activity in the floating window. I then used a case statement to generate User Events for the specific event that was detected and added those events to my event structure.
Randall Pursley
0 Kudos
Message 2 of 3
(2,625 Views)
Randall,

Thanks. That is what I was looking for, just making sure that there wasn't an easier way to do it.

Thanks again,
Bob Young
0 Kudos
Message 3 of 3
(2,615 Views)