LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview lock-up issue, Dr. Watson Hard Error...?

We sometimes run our software vi a library with Diagrams. Sometimes this library can be as large as 50Meg. Our problem seems to occur when we accumulate files in the library over approx 370 or so. When we run the software, no memory leakage or usage issue seems to be present but the software will stop running and we'll get a Dr. Watsons error and the only way to recover is to turn off the PC and reboot. Is there a limitation to the size off a library with diagrams..? We found that if we remove some of the vi's internal to the library (say we reduce the number of vi's down to 325 or so) the lock-up issue goes away...?
0 Kudos
Message 1 of 2
(2,437 Views)
Hello Dave M,

Thank you for contacting National Instruments.

Saving to and reading from large library files is very memory intensive. This is most likely leading to your error.

Please refer to the LabVIEW User Manual (Chapter 7, pp. 12-13) at the following link:

http://www.ni.com/pdf/manuals/320999e.pdf

The following Knowledge Base is also useful:

http://digital.ni.com/public.nsf/websearch/D5662AF762385C1A862566C2007FE40F?OpenDocument

The recommended limit of VIs in a library is 255. This number can vary depending on you memory capacity. It is also recommended that your libraries not exceed 1 MB in size.

To avoid this error, you might want to consider dividing your library into multiple libraries. Put your high-level VIs in one library and
group other VIs by function.

Alternatively, you can save your VIs in a Development Distribution directory by selecting File >> Save with Options... and selecting the Development Distribution option.

Let me know if you need any more help.

Sean C.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,437 Views)