LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Slow Launch

My GUI takes minutes to load, b/c I have numerous sub-vi's (diagrams vi's in a 100+ element case). Is there anyway to postpone linking, so labview does not take minutes to load?

I'm working w/ Legacy labview 5.0.

 

thanks much

0 Kudos
Message 1 of 7
(3,227 Views)
Hello Philip,

short answer: no.

Other question: Do you really need a case structure with 100+ cases? That's not a usual programming style...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(3,216 Views)

Hi-

 Unfortunately, I think I do. I have to have Diagrams for different "test" buttons in my GUI. As I am in Labview 5, the only way to creat a diagram, was to do paste an image on the front panel of a unique .vi file

 

Phil

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

I am not sure about lin LV 8.0 but if you upgrade to a more recent version (I would suggest 7.0 or greater) you can replace the case structure with a dynamic call.  This is more like using function pointers to replace a huge if/esleif/else if...else case in c++.  This way you are not making a case structure decision but calling the right function based on the function name.

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 4 of 7
(3,205 Views)

Tools >>> Advanced >>> Mass Compile?

Was that a "Shift run arrow" or a "ctrl run arrow"?

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,199 Views)
Did you ever look to dynamic loading via VIserver?
There are numerous examples also some with a splash screen
even in labview 5.

Message 6 of 7
(3,167 Views)
Hello Philip,

easiest could be to have some subVis containing groups of your 100+ cases. You could do a grouping of tests too. So your main vi has a cases with ranges like 0...9, 10...19, 20...29 and so on. Each range calls a subvi which splits the range to (in my example) 10 cases. So you easily change the readability of your vi.
Or you use the vi server and call your subVis by number like "subVi_case_xxx.vi".


Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 7
(3,149 Views)