LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI 6.0 Unable to Allocate System Resource error

I am using CVI 6.0 to develop test programs. I have numerous programs already working but I have run into a strange ailment. I compiled a program in debug mode and I found that after single stepping through several lines of code if I mouse over a variable I get a pop up window that says "Unable to Allocate System Resource". If I close that pop up window and then mouse over the variable again it works correctly, giving me the variable contents. Now if I single step to the next line of code I again get the pop up error message. Once again if I close this pop up and then mouse over the variable it now shows me the variable's content.

 

I have tried increasing the interactive memory size and I disabled "Generate Source Code Browse Information" as recommended in other posts for somewhat similar problems.

 

I have also tried commenting out various sections of code but nothing seems to change this behavior.

 

I have not tried a newer version of CVI but that is not an option. We have numerous programs completed and working on numerous systems.

 

Any help would be greatly appreciated 

 

 

 

0 Kudos
Message 1 of 3
(3,547 Views)

Hi KLP,

 

How large is your program?  When you hover over the variable in the debugger, CVI loads all of the variable information into memory and then gathers the specific information you want.  The memory that stores the variable information for the debugger so it can generate these pop-ups was a lot smaller in earlier versions of CVI.  The size has been increased (as of 7.0 I believe), so upgrading would be the best resolution to your problem.  Otherwise you would just have to close the error message and hover over again to see the pop-up.  Just for your information, the interactive window memory size variable sets the memory available to the Interactive Execution window (found in Window»Interactive Execution), not the memory available to the debugger.

 

 Upgrading CVI might be the best idea if you want to avoid this issue.  Upgrading to 9.0 should be easy and should require minimal, if any code changes.  CVI is designed to be backwards compatibl, so R&D places a lot of effort in making sure upgrading is as easy as possible.

Eric B.
National Instruments
0 Kudos
Message 2 of 3
(3,516 Views)
Hello!
I have had the same experience with CVI6.
It seems that is a bug in CVI6 caused by linking an external dll in the
project.
In any case all the environment works fine: it is just an annoying
message 🙂
Best regards
Raffaele

KLP ha scritto:
> I am using CVI 6.0 to develop test programs. I have numerous programs already working but I have run into a strange ailment. I compiled a program in debug mode and I found that after single stepping through several lines of code if I mouse over a variable I get a pop up window that says "Unable to Allocate System Resource". If I close that pop up window and then mouse over the variable again it works correctly, giving me the variable contents. Now if I single step to the next line of code I again get the pop up error message. Once again if I close this pop up and then mouse over the variable it now shows me the variable's content. I have tried increasing the interactive memory size and I disabled "Generate Source Code Browse Information" as recommended in other posts for somewhat similar problems. I have also tried commenting out various sections of code but nothing seems to change this behavior. I have not tried a newer version of CVI but that is not an option. We have numerous programs completed and working on numerous systems. Any help would be greatly appreciated    
>

0 Kudos
Message 3 of 3
(3,455 Views)