From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-06-2019 10:18 AM
HI
I am hoping someone can give me inspiration here, i have a project that i recently made a modification to which now takes ages (over 60s) to load, where as previously it was 1 or 2. It was a minor change by adding a table of results, so nothing ground breaking going on. I think i can actually rule out the code as i used a splash screen as the entry point and that also took 60s to load. So here is my question (and i can only apologise if it sounds stupid), how can i establish what is being initialised PRIOR to running the VI or EXE? Being new to the Labview scene i am doing a lot of guessing at the moment, so any guidance would be appreciated
03-06-2019 10:25 AM
03-06-2019 10:34 AM
Hi Jens
Thanks for the answer, but i have actually ruled out the programming in the VI by disabling everything and using a splash screen, yet still it hangs before opening the UI. My first thought was the .NET issues that have been mentioned, but i have tried those to no avail. The symptoms are the same whether it is the compiled EXE i am trying to load or the main VI of the project, i am sure it must be something simple but at the moment i am at a standstill. Here is hoping for some sort of enlightenment
03-06-2019 11:11 AM
Could be many things.
03-06-2019 11:32 AM
Thanks for your reply, I have gone through everything you have said, I have tried OS versions checked for network links etc, the one thing I can say is that this is happening prior to actually running the VI, and in answer to your question of what does it do, well the answer is nothing. As an exe it shows as “not responding” then after a period of time the UI starts and all is good. What I am trying to figure out is what is happening during that period of “not responding”. Hopefully that makes sense
03-06-2019 11:39 AM
@gadget911 wrote:
... in answer to your question of what does it do, well the answer is nothing. As an exe it shows as “not responding” then after a period of time the UI starts and all is good. What I am trying to figure out is what is happening during that period of “not responding”. Hopefully that makes sense
Obviously it gets stuck at loading some component and my question was of course what does the program do once it is running (plain math? interact with hardware? solve crossword puzzles? Recite poetry?)
03-06-2019 12:38 PM
Ok so the application is relatively simple, I loads cvs data files and plots the data in graphs and in a data table. Thing is it doesn’t do any of this until I select a start time and date and an end time and data and apply it. And that is all it does, very simple straightforward program
03-07-2019 01:06 AM
03-07-2019 10:22 AM
What is cvs data? Is that a proprietary format requiring a plugin? (Or did you means csv?).
What functions do you use the load these files? What does the code do when waiting for date input? Can you show us some code? Does it contain hardwired paths that are not available?
03-07-2019 01:48 PM
I suspect that the table is the source of your problem. Check the scroll bars on the table. It may appear blank, but have a large amount of data that you cannot see. When the program terminates, write an empty array to the table. If all else fails, delete the table and recreate it. Compile and test the code before running it to confirm that the table is uninitialized.
If that does not help, there are several hidden issues in LabVIEW that could cause bloat problems.
I published a free utility to expose these issues and 30 others. Find it in VIPM