LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to add an event to the event queue handled by the event structure?

I am using an event structure to control the flow of a program. In one case I want to change the state of a switch and then have the event structure catch this exception and handle it. It works if the user toggles the switch, but doesn't seem to when it is done programmatically. Any suggestions.
0 Kudos
Message 1 of 3
(2,748 Views)
Hello,

LabView User's manual says:
"Use Events for Direct User Interaction Only
Events wait only for direct user interaction on the front panel. Events do not work if you use VI Server, global variables, local variables, and so on to change VI or front panel objects programmatically."

However, you can have a look in Example Code, there's some applications generating events programmatically, maybe that helps you. (Search for event structure in support).

Hope that helps,

SBC
Message 2 of 3
(2,748 Views)
I was afraid of that. I was hoping that you could add events similar to what you can do with Visual C++. Thanks.
0 Kudos
Message 3 of 3
(2,748 Views)