LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime slow

Solved!
Go to solution

Good morning, I have a doubt.
How can I speed up the execution process when an event structure have implemented?
Greetings.
Hugo Santos

Hugo Santos
Student at ISEC - Master Mechanical Equipment and Systems
0 Kudos
Message 1 of 9
(2,676 Views)

Hi Hugo,

 

If you post your Vi then we'll be able to give you some pointers.

 

-CC 

----------------------------------------------------------------------------------------------------------------------------
"If anyone needs me, I'll be in the Angry Dome!"


0 Kudos
Message 2 of 9
(2,673 Views)

Thank you,
Attached my VI,
regards,
Hugo Santos

Hugo Santos
Student at ISEC - Master Mechanical Equipment and Systems
0 Kudos
Message 3 of 9
(2,671 Views)
Solution
Accepted by topic author hugosantos

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.

0 Kudos
Message 4 of 9
(2,658 Views)

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

Hugo Santos
Student at ISEC - Master Mechanical Equipment and Systems
0 Kudos
Message 5 of 9
(2,650 Views)

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.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 6 of 9
(2,647 Views)

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 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 7 of 9
(2,641 Views)

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

Hugo Santos
Student at ISEC - Master Mechanical Equipment and Systems
0 Kudos
Message 8 of 9
(2,631 Views)

Thank you for your clarification.
Already solved, I added an event to stop.
Regards, Hugo Santos

Hugo Santos
Student at ISEC - Master Mechanical Equipment and Systems
0 Kudos
Message 9 of 9
(2,627 Views)