LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data logging

I'm running an application whereby data is logged to a txt file over an 8 hour period.  On a number of occasions the logging process appears to terminate part way through the process, at which point the PC often crashes.  The txt file is opened at the start of the logging process and is closed at the end (ie, the file is open through the process).  The data is intended to be logged at 20mS intervals, with the file size being in the region of 100MB by the end of the logging.  I have tried altering execution priorities but with little or no improvement.  The application uses Labview 8, running on XP.
Has anyone experienced a similar problem before, and may have a solution or could help ?
0 Kudos
Message 1 of 2
(2,431 Views)

Hi Jon,

I think a little investigation is going to be needed here.

It could be the code, or the operating system or the hard drive or some other software running.

If you run for less time and switch over to another file say half way through, does it still crash? (You should be able to open both files at the start and then switch the reference over halfway through).

What else do you have running on your PC at the same time?

There's some shipping examples for data logging in LabVIEW, could you try one of those and see if it still crashes?

What's the spec of your PC? (Memory, operating system etc)

Have you had the task manager opened at the same time to see what the memory usage and CPU usage are whilst your code is running?

What hardware are you using? (And what drivers?)

If your code is small-ish - can you post it here so we can have a look through it?

Thanks

Sacha Emery
National Instruments (UK)

// it takes almost no time to rate an answer Smiley Wink
0 Kudos
Message 2 of 2
(2,410 Views)