LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI became unworkable

Solved!
Go to solution

Hey everyone.

I'm using LabWindows/CVI 2013 for academic purposes. 

Lately my application works really slow in debug mode (Build -> Configuration -> Debug).

When I run the application (Run -> Debug Application) I can observe "Build succeeded" relatively quickly on the Build output.

However, then the application barely loaded and CVI is not responding for long amount time. eventually, the application is loaded, but works slow for several seconds. then it works regularly. 

I don't remember that I added any significant code lines lately, so I don't understand how and why it works that slow. what should I do?

 

Message 1 of 16
(5,287 Views)

Hello Raven,

 

Check if you don't have a big amount of watch expressions. CVI 2013 has a bug that makes watchpoint duplicate which might quickly grow slowing down the execution. Discussion here

Message 2 of 16
(5,262 Views)

Hey ConstantinP,

 

Thank you for your quick replay.

I checked the file application.cws, and I saw only one watch expression. I deleted it and unfortunetly it did not change the very slow loading time.
In addition, I tried to load different project with much less code lines and only one interface. This project worked very fast on other computers and on my computer one week ago. I was surprised that the run-time was very slow as well (I think in the same manner). Maybe I accidentally changed something in the CVI options that made this happen? I don't know.. 😞

0 Kudos
Message 3 of 16
(5,252 Views)

Hi Raven, 

 

Would it be possible to post a sample of the code?

 

When you mention the code that had less lines, you said that it was good on your computer one week ago. Does that mean that the code with less lines is now very slow to start up as well? 

 

Regards,

Vincent 

0 Kudos
Message 4 of 16
(5,246 Views)

Yes, the code with less lines is very slow to start up as well, and it wasn't like that a week ago.

I made a test - I restart twice, opened CVI and created a new simple project with a very simple user interface.

When I pressed the green triangle (Debug Project) it was very slow again. In the figure you can see the code, and in the title above "Not Responding"

 

Download All
0 Kudos
Message 5 of 16
(5,236 Views)

Hi Raven, 

 

Thanks for the pictures! I tried making a practically empty project, but no luck on my end. Everything runs as normal for me when launching the GUI. 

 

The only thing I can think of is CPU usage. There were a few things I wanted to try out and wanted to know what results you got if you have tried them out already. 

 

1.) When restarting the computer that is running the CVI debug, do you still lag when using the debug mode after the reboot?  

2.) When creating a release or debug executable, do you still see the same "Not Responding" issue? 

 

Regards,

Vincent

0 Kudos
Message 6 of 16
(5,228 Views)

Hey Vincent,

Thank you for the quick replay.

Actually you are the lucky one, because this problem is really annoying 😉
(1) Yes, unfortunately the lag remains the same after restart.
(2) When I work on release mode (Build -> Configuration -> Release & then ctrl+F5) the panel is loaded in less than a second.

One more thing, I don't know if it's a part of the problem, or another different one -  when I created a new project, exit, and then try to reload it I get the following message: "Unrecoverable Internal Error at 0023:10ADA968

LabWindows/CVI is aborted. 
I created this file from the Environment mode using bin\ConfigCVILogging.exe, I think it was created when I pressed the Debug button..

0 Kudos
Message 7 of 16
(5,225 Views)

Hi !

 

Can you run the windows task manager and upload an image of the process that is running so we can see the CPU usage and the memory.

0 Kudos
Message 8 of 16
(5,229 Views)

Hi Raven88

 

Can you explain us a little bit your project? are you calling a dll or something like that?

Is this happening only one project or multiple projects?

Can you open an example?

0 Kudos
Message 9 of 16
(5,214 Views)

Yes, I hope I understood what you meant,

I took the picture two seconds after I pressed the debug button.

thank you for trying to help!

0 Kudos
Message 10 of 16
(5,219 Views)