LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Application Error

Hi,

A while ago, I tried to change the build-in AI read from NIDAQ6.9.1. On way or the other, the build in AI read was replaced by My AI read, which in fact was exactly the same as AI read. Because of problems when transporting the file to other PC's, I tried to fix this. That is where everything started to go wrong.

When I save a file, I cannot reopen it: "labview application error" while opening. When I click OK, it sometimes adds something like "cannot find all necessary files or llbs". The funny thing is that exactly the same file, but saved on an other PC works fine.

I then reinstalled everything containing the word labview or ni daq, but still the same problem: every file saved on my PC does not open anymore. Sometimes,
let's say one out of 25, the file opens, but then craches closing.

Can somebody help?
Thank you.
0 Kudos
Message 1 of 5
(3,017 Views)
>
> Can somebody help?
> Thank you.
>



This may sound like a shot in the dark, but you might want to run a disk
check utility. With NTFS and VFAT file systems, there aren't as many
problems as in the past, but if the disk file system is confused, then
LabVIEW and other programs will not necessarily be able to read back
what they wrote to the disk. In the past I've seen files that were
mixed with text files and all sorts of other problems.

If your disk check finds a number of problems, repair them and see if
that helps. You may need to restore some of your files if they were
corrupted.

Greg McKaskle
0 Kudos
Message 2 of 5
(3,017 Views)
Hi, thanks for tying to help.

Checking the disk did not help, and because I did not know what to look for, I have done a fresh install of my system, complete with formatting and so on. The problem is now reduced to the larger files. The small files do not crash if I save them immediately after opening them. With the larger files, there is not always a problem, sometimes I can manipulate them for over 20 times, and then suddenly, crash and no way to open them anymore.
When I speak about larger files, this is something between 700kB and 980kB. Is this maybe to big for Labview to handle? I have 256 MB RAM on my computer.

Thank you.
0 Kudos
Message 3 of 5
(3,017 Views)
> Checking the disk did not help, and because I did not know what to
> look for, I have done a fresh install of my system, complete with
> formatting and so on. The problem is now reduced to the larger files.
> The small files do not crash if I save them immediately after opening
> them. With the larger files, there is not always a problem, sometimes
> I can manipulate them for over 20 times, and then suddenly, crash and
> no way to open them anymore.
> When I speak about larger files, this is something between 700kB and
> 980kB. Is this maybe to big for Labview to handle? I have 256 MB RAM
> on my computer.


There is no size limit. The limit is probably something like two
gigabytes or so. I have customer VIs on my computer that are fo
ur or
five MB.

You say that it crashes. It would be helpful if you could be more
specific. Is there a dialog? What does it say? If the dialog is a
Failure dialog, then LV also creates a LabVIEW Failure.txt file that you
can file with technical support along with a description and this will
help to track down the problem.

Greg McKaskle
0 Kudos
Message 4 of 5
(3,017 Views)
I have been able to work with the files the last few days, but today that's finished again. The message I get is from windows I think, telling me "the memory could not be read" and also the locations. The strange thing is that it only occurs when my front panel is on the screen. If I am fast enough to show the diagram on the screen, it does not crash, as long as I do not recall the panel.
In the problems last week, I had all kinds of errors, but today just that one, sometimes followed by "could not read file", but not allways.
I have tried the NI support, but they cannot find what the problem is.
Do you know a way to defragment my NT system formatted with NTFS?
0 Kudos
Message 5 of 5
(3,017 Views)