LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help!!! Labview Exe compiled works a while, and shortly after stops running and gets dead and static. .

Try using the "Highlight Execution" button like you would when debugging any .vi, and see if you can find a subVI that's overlaid with a green arrow, indicating that it's executing but hasn't returned yet. Maybe there's one that's waiting for some input or a response that's never returning. See if any functions are generating any unhandled errors.

0 Kudos
Message 11 of 12
(475 Views)

Hello rdeletric,

 

Here is Plinio from National Instruments Brazil. Can you share the code with us? Maybe looking the whole code we can find the root cause.

 

Meanwhile, from the print screen I checked some posts above I realized you are not following LabVIEW programming good practices. I would recommend you to study LabVIEW architectures, this kind of thing usually avoids many errors, like race condition.

 

https://forums.ni.com/t5/Developer-Center-Resources/Scalable-Design-Patterns-in-LabVIEW/ta-p/3534309 (Refer to the first two architecture/structure - State machine and Event structure)

http://www.ni.com/newsletter/51735/en/

http://www.ni.com/tutorial/7595/en/ (Tutorial State Machine)

http://www.ni.com/white-paper/2926/en/ (Using a State Machine (Event Driven) Architecture)

http://www.ni.com/white-paper/3024/en/ (Application Design Patterns: State Machines)

 

Plínio Costa
Senior Techinical Support Engineer
National Instruments Brazil



0 Kudos
Message 12 of 12
(457 Views)