LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Block diagram opens very slow

I made some changes to my block diagram, I deleted some controls and added new ones when the VI was open, and since then when ever I open the VI and navigate to block diagram it is taking very long time. Any suggestions why would this happen. Restarting computer did not help me.
 
Thanks,
 
Mudda.
0 Kudos
Message 1 of 12
(4,113 Views)
It's possible that there may have been some corruption to the VI. You should first try to do a force compile by holding down the control and shift keys while clicking the run arrow button in the toolbar. If that doesn't fix it create a new VI and then drag and drop the contents of the block diagram from your VI into the new VI. Save the new VI under a new name to see if the behavior persists. If it doesn't, replace your VI with this new one.
Message 2 of 12
(4,104 Views)

How long is "long"?

Does this happen only the first time you open the BD or does it keep happening if you open and close it?

Is one of your constants a VISA or DAQmx reference or something similar? LabVIEW needs to get the list of available options the first time it displays one of these and that usually takes several seconds.

Is your VI very big?

If you copy the code and paste it in a new VI, does it help?


___________________
Try to take over the world!
Message 3 of 12
(4,101 Views)

Hi,

My VI is a very small one, I copied the VI block diagrma into another file and saved it, the problem retained. I use the DAQmx controls in the VI. I tried to rebuild the application and I came up with the same issue when I dropped the Create Vitual Channel function on the block diagram. I never had this kind of issue before. When I say late opening the Block Diagram I mean 10 to 15 minutes of lag time. Any help would be appreciated.

 

Thanks,

Praveen Muddasani.

0 Kudos
Message 4 of 12
(4,077 Views)
Hi I faced this issue some time ago when I was trying to reduce the number of processes running in Windows. I disabled also some NI tasks running in the background which as I thought were unecessary. Since then I had freezing problems as you describe when opening VIs with DAQmx subVIs.

 

Haven't you recently disabled some of the NI tasks (via msconfig or some other software)?

LV 2011, Win7
Message 5 of 12
(4,069 Views)
Hi,
 
I haven't deleted anything intentionally, Could you tell me how do I go to the window which you attached in your reply, it was not in english sorry I could not follow it.
 
Thanks,
Mudda.
0 Kudos
Message 6 of 12
(4,061 Views)
Than it won't probably be your issue. Under windows: Start-Run-type "msconfig". But it was just an example. You might have different tasks running.
LV 2011, Win7
0 Kudos
Message 7 of 12
(4,057 Views)
I would suggest trying to repair either the LabVIEW installation or the DAQmx installation.

___________________
Try to take over the world!
Message 8 of 12
(4,037 Views)
I had similar issues with DAQmx controls and DAQmx constants.
I was able to solve it. See here
Good luck,

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 9 of 12
(4,026 Views)
Hi,
 
I am not able to find the Data folder under MAX directory? I am missing it or will it be at any other location.
 
Thanks,
 
Praveen Muddasani.
0 Kudos
Message 10 of 12
(3,990 Views)