Discussion:
How to resolve Error #3: memory.cpp, line 563
(too old to reply)
AVT Man
2008-08-09 17:10:07 UTC
Permalink
I moved my application to a new computer with Windows XP and installed Labview 6.1 from the installation disc.  When I run Labview 6.1, it allows me to open a project but, as soon as the project loads it shows the following error message (Error #3: memory.cpp, line 563).  I deleted dir.mnu as suggested but the problem persists.  The application runs fine on the old computer.  I even uninstalled and re-installed Labview 6.1 on the new computer with the same result.  What do I do now?
mikeporter
2008-08-10 04:10:04 UTC
Permalink
First of all, I assume that when you say "project" you mean the top-level VI. V6.1 didn't have projects. Next, is the top-level VI configured to run when opened? Can you narrow the problem down to a specific subVI that generates the error when it loads or runs?Mike...
AVT Man
2008-08-12 14:40:20 UTC
Permalink
Mike,
   Thanks for the advice.  I configured the top level vi not to run when openned.  This allowed me to find the offending vi.  It appears the FP Open.vi is causing the problem.  This vi makes a library call to the FPLVmgr.dll and tries to obtain a Ref Num.  The ref num coming out of FPLVmgr.dll is zero.  When this is posted to the Ref Num icon, I get the error.
  Any other suggestions.
KenMessage Edited by AVT Man on 08-12-2008 09:28 AM
AVT Man
2008-08-12 14:40:20 UTC
Permalink
Mike,
     I have also tried using different versions of FP Open.vi in combination with different versions of FPLVmgr.ll and that doesn't seem to work either.
Hope you can help,
KenMessage Edited by AVT Man on 08-12-2008 09:33 AM
mikeporter
2008-08-13 03:10:06 UTC
Permalink
If you are wanting to open the front panel of a VI you don't have to use a separate VI. There is a VI method that allows you to open the a VI's front panel. Mike,,,
AVT Man
2008-08-13 14:10:06 UTC
Permalink
Mike,     I am a little confused.  I do not have a problem opening the front panels.  I have looked at the front panel and diagram of FP Open.vi many times.     The library call embedded in FP Open is configured exactly the same as on the old computer (which works fine).  I am using version 2.0.0.0 of FPLVmgr.dll and Fieldpoint.dll (as on the old computer).  I also have later versions (3.0??? and 4.0???) of these dlls but they don't work either.    Is there any way to get a refnum to my *.iak file without making a library call to FPLVmgr.dll?Thanks
mikeporter
2008-08-14 02:40:17 UTC
Permalink
I'm sorry, I'm the one that was confused... You are having a FieldPoint problem, yes? First make sure that the FP VIs are not stored as part of your appliction code. If it is, delete it. Next, if you don't already have them, install the latest version of the FP drivers.  If you have only the latest version of teh drivers installed and you are still getting crashes, this sounds like an NI problem. The sort of problem you are running into is but one of many reasons for not saving code from the vi.lib as part of your application code. Mike... 
Loading...