LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to speed up VI load time (VIs that calls Control Design Toolkit functions in a Mathscript Node)?

Is there a way to speed up the load time for a VI that calls Control Design Toolkit functions in a Mathscript node? The performance for LabVIEW to load such a VI is pathetically slow. For example, the attached VI ("MS + CDT functions.vi") takes ~145 seconds to load. A similar VI that does basically the same thing but does not use Mathscript ("CDT_only.vi") only takes about 1 second to load. If I need/prefer to use the MS node, is there a way to speed up this load time?
0 Kudos
Message 1 of 4
(3,336 Views)

Sorry, upload failed. Here are the files.

0 Kudos
Message 2 of 4
(3,334 Views)

Hi Southern_Cross,

 

I opened both of the files in your attachment and did not experience any difference in load time. The first time I opened them LabVIEW had to search for the libraries referenced in the block diagram, but each subsequent load took less than a second for either VI.

 

What exactly are you seeing while the VI loads?

0 Kudos
Message 3 of 4
(3,284 Views)

This is really curious. I only experience this sluggish loading on one of my two computers that have a identical LV licenses. The LV on one of my systems is somehow in a bad state...

 

On the computer suffering the poor performance... the first time I open "MS + CDT functions.vi" it takes ~145 seconds. The front panel window comes up immediately but no controls or indicators are rendered. The window is completely gray (the standard/default LV front panel color) and the numeric values for all digital controls/indicators are shown disembodied from their controls/indicators that have not been rendered yet. This window sits like this indicating "Not Responding" for the time I mentioned above. LV won't let me do anything while in this state. Once the time has elapsed the front panel finishes rendering all widgets and the VI is fully loaded and ready to be used. 

 

If the VI is closed then I experience the same performance hit again.

 

After MeekShow responded I tested this on my second machine and the VI loaded just fine. Head scratcher... maybe I need to REPAIR the LV install (not looking forward to that lengthy process...).

0 Kudos
Message 4 of 4
(3,267 Views)