11-18-2015 09:57 AM
Hi
I am executing in LabVIEW 2015 a program developed in a 2009 version of LabVIEW.
The problem is that sometimes (no always), the LabVIEW enters in a suspended state because it starts an infinite loop in the attached vi, specifically in the function in red.
It is curious, that if I executed the same program, but with the "the light bulb" activated, it runs perfectly without problem...
Any idea why is happening this?
Thanks
11-18-2015 10:10 AM
That initialize VI looks the exact same in 2014.
11-18-2015 10:50 AM
@uhernand wrote:
It is curious, that if I executed the same program, but with the "the light bulb" activated, it runs perfectly without problem...
When you turn on 'highlight execution', it deliberately slows down the execution of the VI so you can see the data flow from one node to the next.
If you have an error with it turned off which is fine when you turn it on, it indicates some sort of race condition or timing problem.
11-18-2015 11:38 AM
Can you attach the relevant VI (or VIs -- possibly Zipped) so we can see all of it and see if we can spot the (possible) race condition or deadlock?
Bob Schor
11-19-2015 03:38 AM
Umm I don't think that it could be a timing problem, because once I run the application with "highlight execution" activated, if I stop the application and run it again without the "highlight execution" it executes without problem...
11-19-2015 03:41 AM
Hi Bob
I attach the project. The main .vi es EquipmentServer.vi, it runs the whole project.
The bug appears in the first secuence [0] of the Stacked Squence Structure.
Thanks!