From: Sandman on
Hi

 

I have an application like the example from Labview called "Menu selection with events" and want to force the event handler to enter a certain stage when the condition is right without having to manually use the menu selection from the front panel. This enables me to implement a command line application where the application is automatically configured and automatically press the RUN button in the user menu. The RUN button is event driven.

Is this possible?

 

Thanks!

 

Br,

Peter
From: mathan on
Hai sandman,
 
Could you please post your code.
 
Thanks,
Mathan
From: Ben on
It sounds from your Q that Ton's<a href="http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=242266&amp;jump=true" target="_blank"> "Dynamic Event Registration" Nugget </a>may be a good thread for you to read if you are asking how to dynamically fire an event.
Ben
From: TWGomez on
Your explanation isn't very clear.
You want an event to call another VI? Or another program altogether??
I have no idea what you mean by "the RUN button is event driven"...

In general you can do any of those things...Calling a vi or progam from an event structure (or any where else) and running (controlling it to some degree, depending on the methods used) it dynamically.
From: Sandman on
Hi It would be too much to post my original code here and to explain this but the event handler in my program is a true copy of the example found in the the LV help section called "Menu selection with event" But anyway I have attached the example here.
at runtime the menu selection can be performed manually but I want to force the event handler to enter a e.g. About selection when a certain condition is correct.
Br
Peter


Menu Selection with Events.vi:
http://forums.ni.com/attachments/ni/170/321026/1/Menu Selection with Events.vi