ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

program stops unexpectadly

Hello,

 

I have this vi in labview that stops unexpectadly, no error code, no error, nothing. It just stops, as if someone pressed a stop button. With the probe i managed to see that it always crashes when the inner while's condition is true for a longer perioud of time. When i press "run continuously" the program runs for a couple of times then it stops. Can someone help, please?

0 Kudos
Message 1 of 2
(2,486 Views)

I would first start by moving your Load FPGA and Close FPGA code outside of your main loop.

 

You are flushing a queue after it was closed.  That doesn't make any sense either.

 

Since you are running your inner loop a set number of times, change it to a FOR loop.  That will simplify things a little.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(2,462 Views)