11-18-2010 10:40 AM
Hello,
I searched around using various terms, but couldn't readily find posts on what I'm experiencing.
Has anyone else noticed huge delays when applying large, hierarchical type definitions? I've got about a dozen nested type definitions of clusters, each containing anywhere from 10 to 100 controls, and they're used throughout a large application. When I open any member of that hierarchy, make a small change, and hit apply, I see the hourglass (spinning ring of death in Vista/7) for a good two to five minutes.
A short term workaround has been to close all dependent VIs and typedefs, and then make an isolated edit. Then, if I open the whole application again, I see some compiling taking place, but it seems to take a lot less time than when the whole application is open.
I could have sworn that I read a discussion by some others commiserating about this at some point, but now I can't find it.
Has this been addressed, and has anyone heard if there's any development effort to improve this?
Thanks,
Jim
11-19-2010 02:01 PM
Hi Jim,
I was able to find an earlier report of this issue. It seems the behavior is because when the type definition is updated, all referencing VIs will recompile automatically. If your application is large, and the typedef is used in a large number of VIs, it's not dissimilar to mass compiling with every change.
It's not ideal, but there are a few workarounds other than you mentioned. You could use more specific typedefs and not a massive one to pass data through VIs. Or you could pass a queue reference to the subVIs and have the queue be made of of elements that are the large type definition.
If this is causing major problems, let me know, and I'll pass along your concerns to R&D.
All the best,
11-19-2010 02:16 PM
11-19-2010 03:06 PM
Wow... how the line feeds got removed from that message is beyond me. Sorry about the tough format for reading...
11-22-2010 06:19 PM
Hi Jim,
Could I get you to create a Service Request, and request that it be directed to me? This will be the easiest way to accept your code, and attach that request to a CAR for R&D.
Thanks,
11-23-2010 09:22 AM
Fred, I am uploading my code and have submitted a support request. The reference number is 7305441, and I am still in the process of uploading via FTP.
I'm very grateful for your diligence in helping me with this.
Kind regards,
Jim