LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to call other events while being in one event

hi,
while i were executing one event in event structure,can i call other events programmatically,i am using labview 8.20
 
for eg.if i were executing string value change,i need to execute the button click event...is it possible???????????
0 Kudos
Message 1 of 5
(4,147 Views)

If you insist in using one Event Structure then the answer is no, because Event Structures queue their events. Everything takes place in a serial/sequential manner.

Regards, Guenter

0 Kudos
Message 2 of 5
(4,143 Views)
check out the property node: value (signaling)

it will press the button for you(essentially), including the event trigger.
0 Kudos
Message 3 of 5
(4,140 Views)
Value Signaling is a good issue.
But it still limits you to queue another event. With this property you cannot execute the code of another event case while an event case executes.
Maybe, I misunderstood want you intend to do?
Regards, Guenter
0 Kudos
Message 4 of 5
(4,128 Views)


@rajkumar.r wrote:
hi,while i were executing one event in event structure,can i call other events programmatically,i am using labview 8.20

Of course you can! 🙂

What you need is two event structures, each in its independent loop. If you manually want to execute the second event, you should make sure to uncheck "lock front panel until event completes". Else just fire the other event using a signaling property.

Can you give a few more details on what you have in mind, exactly? There is probably a better solution.

Typically, you should design your code so it does not get trapped inside an event structure. An event structure should always be ready to process new events.

Message 5 of 5
(4,123 Views)