> I can't save any VIs. When trying to save a VI, LabVIEW crashes and
> gives the following error message:
>  Error #3:"memory.cpp", line 996 LabVIEW version 6.1
> 
> 
> This a new installation of LabVIEW 6.1 on a WIndows NT operating
> system.

What has happened prior to the save?  Error 3 indicates that someone is 
calling a memory manager function with a bad value, possibly from 
another memory zone, but possibly corrupted.

Here is a test.  Launch LV, open an empty VI, and Save it somewhere.  If 
this doesn't work, you have a bad installation of LV.  I don't know how 
it got that way, but you might want to uninstall, check the file system 
using chkdsk or some other disk utility, repairing any bad tracks, etc. 
  Then reinstall.

More likely, the empty VI is fine, and you have a particular VI that 
after being executed will not save.  This probably means that VI or one 
of its subVIs is corrupting memory.  The primary suspect in these cases 
is a DLL or CIN that is incorrectly configured or passed parameters it 
can't deal with.  If you have more than one, narrow it down by putting 
case statements around some of them or running only partway through the 
VI and aborting.  Then unload the VI to check for corruption.  Post 
again if this is the case and it isn't obvious why the DLL call is 
corrupting memory.

Greg McKaskle


Reply via email to