LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2009 freezes when saving vi

Solved!
Go to solution

Hi

 

My LabVIEW 2009 v 9.0f2 (64-bit) freezes for 20seconds every time it saves vi.

 

Anybody seen that?

Is there a fix to it?

 

thanks

Pawel

 

0 Kudos
Message 1 of 7
(3,129 Views)

Watch your CPU and processes while that is happening. It is either normal or possibly Virus checking code is involved.

 

ProcessMon (name) available from MS will let you trace OS calls if you really want to get to the bottom of it.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 7
(3,123 Views)

Thanks Ben

 

The processor is at 12% and the only process taking this much is LabVIEW :).

 

I cannot even disable virus scanner as IT have blocked it.

 

I will keep looking

 

thanks

Pawel

0 Kudos
Message 3 of 7
(3,120 Views)

 

 

OK, found it.

 

This time LabVIEW cannot quickly save the graphs with large data in it. When I limit or remove the graph the saving is quick.

 

It is still anoying, but at least I can woek now.

 

thanks

 

0 Kudos
Message 4 of 7
(3,106 Views)

For a real thill along the same lines search this site for the terms "Ben Mouse Tendon" find that sample code and run it. I have seen that chug for an hour or more before LV crashed giving my an end of file error which I interpreted as "this VI is to large fo rthe file system to support!"

 

If your CPU was showing low load the delay may have been while try to allocate space. Check you disk fragmentation.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 7
(3,103 Views)
Solution
Accepted by topic author pawel

 


@pawel wrote:

This time LabVIEW cannot quickly save the graphs with large data in it.


Sorry, could you clarify:

 

  • Do you have graphs with huge amounts of default data?
  • Do you have charts with huge history sizes?
Unless the graph data is the default, it will not get saved with the VI and I don't think it should slow you down.
How big is the VI on disk (the one that saves slowly).

 

0 Kudos
Message 6 of 7
(3,097 Views)

Hi

 

Good guess.

 

When the default data arte there the vi size is 12MB and LV chokes.

When I clear the graph and resave the vi is 1.5MB and the saving is instantenous.

 

The thing I will need to rememmber is not to use the Edit->Make values default, as it will make again the problem come back. I will use the local control "make default" option instead.

 

thanks a lot

Pawel

 

0 Kudos
Message 7 of 7
(3,093 Views)