04-04-2012 06:11 AM
Good morning, I have a doubt.
How can I speed up the execution process when an event structure have implemented?
Greetings.
Hugo Santos
Solved! Go to Solution.
04-04-2012 06:17 AM
Hi Hugo,
If you post your Vi then we'll be able to give you some pointers.
-CC
04-04-2012 06:28 AM
Thank you,
Attached my VI,
regards,
Hugo Santos
04-04-2012 07:57 AM
Your event structure is not implemented properly.
Also, you forgot to include the FGV.vi and your custom control.
Take a look at the LabVIEW Help, particularly the caveats for using Event Structures and the need to put Event Structures inside of while loops.
04-04-2012 08:34 AM
Thank you for your help.
The FGV is included in the project.
After checking in labview help, my doubts remain.
Could you send me a basic example that I can adapt my application?
regards,
Hugo Santos
04-04-2012 08:41 AM
Go to the NI example finder and type "Event" you will get lot of examples. It is not advised to use operations inside the event structure because if any of the Event takes time then you will not be able to handle the other controls in the FP and also it may hang your PC easily.
04-04-2012 09:14 AM
Since your event waits for your sub-vi it'd be alot easier to just drop the sub-vi in the event instead of using vi server. 🙂
//Y
04-04-2012 10:35 AM
Thank you for your clarification.
I present another question in attached VI, I can not stop running through the button "stop".
Know how to say why?
regards,
Hugo Santos
04-04-2012 10:43 AM
Thank you for your clarification.
Already solved, I added an event to stop.
Regards, Hugo Santos