From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-19-2014 07:15 AM
Am running LV 2013 (32 bit) on a Win 7 64 bit machine. Am doing some refinement on a decent sized app and when performing a lot of editing on the front panel, mainly organizing controls, aligning panes, making it look pretty, etc, it starts to get really slow. The response time for moving a single control or decoration can start to take severl seconds. If I am not carefull, it will end up crashing. Closing LV completely and reopneing the app clears this up but aftere a short period of time, it starts doing it again.
My thoughts are that maintaining the undo references while I am doing this is somehow causing the system to start dragging but that is just a guess.
Any other thoughts on this and what I might be able to do to improve the condition?
Thanks....
09-19-2014 07:18 AM
Doug,
does that application use a lot of type definitions? Strict type definitions? Do changes in those auto-propagate?
Undo history is also a good guess, so maybe you want to modify the history length (99 per default per VI). You can do this is the LV options in "Environment".
If LV crashes, what is reported as source?
Norbert
09-19-2014 08:20 AM
Yes, lots of typedef's that are auto-updating, also several tabbed containers, some embedded a couple levels deep. It is a very busy front end without question as the app contains a lot of features, some of which are restricted to certain personnel and such.
I will try to reduce the undo levels and see how that impacts the problem.
When it does crash, it just goes into (Not Responding) mode and then goes away, no message, no recovery, nothing.
Will post how the undo change affects it when I am able to try it a bit later today.
Thanks...
09-19-2014 10:04 AM
Also try to avoid overlapping objects in general.
09-19-2014 10:20 AM
I do have a little what I would call overlap I think as I am using several instances of a simple decoration frame to group things together and in some cases, this frame sits on top of the outer edge of a tab container.
Once it is organized, it will never move again and it doesn't cause a problem with the execution but is is just very annoying while I am trying to get the front end to look the way I want it to.
09-20-2014 07:59 PM
I wanted to add another data point. I have seen this issue in LV 2010 and LV 2012 (both 32bit).
Exhibited on two projects with main screens that contain:
There was not a problem with load time or execution speed.
steve
09-22-2014 06:58 AM
I have tabs and typedefs everywhere. Lots of options and tabs seems the best way to keep it organized and clean for the users. Strange thing about this is that this behavior only started dragging bad within the past few weeks. When I was originally creating it, I didn't have this problem.
It has gotten to a point where it doesn't take long to start doing it when I am working on the UI and it gets real bad pretty quick. Seems as if it's is getting worse each day. Am just about done with it though so shouldn't have to deal with it much longer.
Thanks for the feedback......
09-22-2014 07:29 AM
Doug,
i think for the future you should work with subpanels in case you need a very labor-intensive UIs. This really addresses the issues you describe in a very modular way.
If the customer doesn't require the UI to be integrated, a set of popup dialogs (e.g. for configuration settings) attached to a custom runtime menu also helps in making the UI simpler.
Norbert
09-22-2014 07:48 AM
I looked at sub-panels briefly last week but having never used them and being as far along as I am, it didn't make sense to make a change for this app but indeed, in the future I will definitely explore that option.
Very little of what I have would lend itself to pop-ups though I do have a couple in there for certain features.