LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PC crashes (boots) while my VI is running!

The problem: PC crashes (boots) while my VI is running. It happens unpredictably, after 5 minutes or 4 hours.

The hardware: Pentium III, PCI-GPIB,
plenty of Hard Disk space (1.3 Gb free on C:, 1.2 Gb free on D:).

Memory: RAM (physical) 256M. Virtual Mem ~900M

The software: Labview 6.0 (Memory Allocated 6304K)
on Windows 2000 connected in Novell Network.

My VI: A loop writing and reading to GPIB by simple a
instruction "GPIB Write"/"GPIB Read" to different
devices connected all through the same GPIB card.
At each loop, data is written to disk by the instruction "Write to spreadsheet" with the option APPEND. This way I append a new line of data each loop,
which is each 100 milisecond.
The spreadsheet file is o
pened before the loop with 'Open file' intruction.

Crash details: In a crash, the PC boots spontaneously. After the crash, I can check what has been saved in the spreadsheet. I see that the last lines are full of
numbers or symbols not according to the expected format. That means that uncorrect data was saved before the actual spontaneous boot. I don`t know if this can give a clue on the reason of the crash.
The size of the files can some Megabytes. I don`t
read the files, I just append a line so I don`t expect it to be the problem. Am I right?

Further checks: To check if network problems may be the reason, I Login as 'Workstation only' and disconnected the internet cable. I also kept
other programs off to save memory. PC still crashes.
0 Kudos
Message 1 of 4
(2,724 Views)
> The problem: PC crashes (boots) while my VI is running. It happens
> unpredictably, after 5 minutes or 4 hours.
>

You should check to see if you have the latest and correct version of
the GPIB driver and any other driver SW. Win2000 is a protected OS, and
technically, LV cannot crash your OS, just its process. It sounds like
you may have already done this, but also eliminate other SW running at
the same time to determine if this is an incompatibility between
multiple drivers.

Good Luck
Greg McKaskle
0 Kudos
Message 2 of 4
(2,724 Views)
Thank you Greg for your comment.
It sounds like your ideas may shed some light.
First, when I installed the PCI GPIB, it was
a plug-and-play process. I didn`t install
manually any drivers. The system reports GPIB driver unknown. So may be I should install drivers.
If so, my questions are: "Where can I find drivers",
"Which drives should I choose","How do I install?".

PS: About "SW", what does "SW" mean?
0 Kudos
Message 3 of 4
(2,724 Views)
SW= SoftWare
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 4
(2,724 Views)