LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

program to run for 4 hours - stops in 10 minutes

I have a current scanning program set to measure temperature and increase the current automatically. However program stops when temperature is recorded to Data file.
0 Kudos
Message 1 of 4
(2,376 Views)
This is probably a simple coding mistake but there is not enough information in your post to tell what is wrong.

Could you attach your program (or a simplified version) so we can have a look?
0 Kudos
Message 2 of 4
(2,372 Views)
Program File Attached!
0 Kudos
Message 3 of 4
(2,358 Views)
From a quick look at the code it looks fine and I didn't see any obvious coding errors. It looks like you must be calling the exit case. That is the only way your code should exit, however as far as I can tell the file I/O has nothing to do with your decisions on the what state to run next.

Because we don't have your SubVIs we can't really tell you where the issue is. I would suggest probing the Test Sequence wires to see exactly which event was fired before you called exit. Then look to see why that case decided on the exit case. I have a feeling it is in your Ambient Limits subVI.
0 Kudos
Message 4 of 4
(2,352 Views)