01-11-2007 02:21 PM
.exe of the same program." Just to clarify, was this statement to illustrate that the behavior occurs in an executable application as well as if running in LabVIEW, or are you actually running them simultaneously?01-11-2007 02:43 PM
@Lorielle P wrote:
I'm curious because you said "The problem occurs when running the VI as well as running a compiled.exeof the same program." Just to clarify, was this statement to illustrate that the behavior occurs in an executable application as well as if running in LabVIEW, or are you actually running them simultaneously?
The problem occurs either when I run the VI or when I run the .exe of the same program. I have never tried to run them together.
View the Windows Task Manager while the VI runs to see what process/application/service is taking up the CPU power.
There is only system programs and labview taking up CPU power. See the attached two pictures showing processes and CPU usage.
Is the GPIB card recognized? In other words, are you able to communicate with the instrument in MAX or through a simple VI since the upgrade?
Yes, the GPIB card is recognized. The program works fine for some amount of time (sometimes 5 minutes, sometimes 60 minutes) and then windows freezes.
@Lorielle P wrote:
Also, what do you mean by "seemingly randomly?" Does it freeze only with this VI in 8.2? Every time you run this VI? Different lengths of time in the VI?
All of the above. I have altered the VI, saved it under a different filename and rerun and still had the problem. It freezes every time I run the VI, although each time it freezes, it spends a different length of time executing the VI.
The one thing I am honing in on is what altenbach mentioned, which is to use simulated data in the subVI. I haven't crashed the program using this. Alternatively, I have put together a much less functional main VI calling the same functional subVI and that hasn't crashed either.
Thanks for your help.
Robert
01-11-2007 02:55 PM
01-11-2007 03:03 PM
@altenbach wrote:
I am still thinking "hardware error"....Do you use the same GPIB card for other tasks without problems or is this the only program that uses GPIB?Maybe the GPIB card is faulty? As a first step, maybe try to take it out and re-seat it.I wonder if there are any hardware diagnostic programs?
I will try to follow up on this, but I use this GPIB card extensively without problem. I will look into the aforementioned hardware issues and scanners.
Thanks.
Robert
01-17-2007 09:17 AM