Jump to content
News about the LabVIEW Wiki! Read more... ×
bmoyer

LabVIEW Not Responding

Recommended Posts

Hi everyone,

I've been developing a fairly large program using drjdpowell's Messenger Library (over 60 actors so far) and I am encountering slowdowns in the LabVIEW environment (LV2017 SP1) that I've not been able to figure out.

After running my source code multiple times (in order to make edits to the code), I find that the duration of time that I have to wait after stopping the code becomes increasingly long.  Sometimes it get to the point where I need to wait over a minute before I can continue using the LabVIEW environment! 

Is this normal/expected behavior?  It makes using LabVIEW very painful, and it ruins my train of thought. 

Any suggestions on how to improve things?

 

Thanks,

Bruce

Share this post


Link to post
Share on other sites

I have noticed that, though not enough to bother me much.  I've assumed it was a LabVIEW bug in the edit environment.  I haven't investigated it because it can't affect executables (they only run once).

BTW, is that 60 actor types, or 60 running instances?  

Share this post


Link to post
Share on other sites

Thanks for your reply.  I have 60 different actors, some are spawning multiple instances, but not many.  I had a video attached to my previous post (sorry for the poor quality), and I routinely encounter long delays when iterating (after about 5 or so iteration of running, stopping, then making edits, then re-running and so on).  I have been in contact with NI support about this problem but so far they haven't come up with anything.  It's been difficult to debug since it doesn't seem to be a problem with small projects, and because of IP/corporate issues, I can't just send the whole project to them.

What's the longest delays you've seen?

Thanks,

Bruce

Share this post


Link to post
Share on other sites
13 hours ago, bmoyer said:

What's the longest delays you've seen?

Just several seconds, but with fewer actors.  I will try and investigate when I next see it.

Share this post


Link to post
Share on other sites

I haven't seen this on program stop. However, I have seen it on program start in a clean environment. It's probably not related to your issue, but it's specific to one project only for me. I was in contact with NI and the only way for them to solve this is to send them the whole project.

Share this post


Link to post
Share on other sites
On 1/3/2019 at 12:37 AM, bmoyer said:

After running my source code multiple times (in order to make edits to the code), I find that the duration of time that I have to wait after stopping the code becomes increasingly long.  Sometimes it get to the point where I need to wait over a minute before I can continue using the LabVIEW environment! 

...

Any suggestions on how to improve things?

  1. In the video, you used the "Abort" button to stop the code. Does the delay still occur if you shut down everything gracefully instead of aborting?
  2. Does the delay still occur if you use File > Save All to save your changes before running again?
  3. Does the delay still occur if you disable "Separate compiled code" for all your VIs and classes?
Edited by JKSH
Change terminology: "Terminate" -> "Abort"

Share this post


Link to post
Share on other sites
4 hours ago, JKSH said:

In the video, you used the "Terminate" button to stop the code. Does the delay still occur if you shut down everything gracefully instead of clicking "Terminate"?

That's a great point.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site, you agree to our Terms of Use.