bmoyer Posted January 2, 2019 Report Share Posted January 2, 2019 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 Video.MOV Quote Link to comment
drjdpowell Posted January 2, 2019 Report Share Posted January 2, 2019 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? Quote Link to comment
bmoyer Posted January 2, 2019 Author Report Share Posted January 2, 2019 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 Quote Link to comment
drjdpowell Posted January 3, 2019 Report Share Posted January 3, 2019 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. Quote Link to comment
Michael Aivaliotis Posted January 5, 2019 Report Share Posted January 5, 2019 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. Quote Link to comment
JKSH Posted January 5, 2019 Report Share Posted January 5, 2019 (edited) 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? 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? Does the delay still occur if you use File > Save All to save your changes before running again? Does the delay still occur if you disable "Separate compiled code" for all your VIs and classes? Edited January 5, 2019 by JKSH Change terminology: "Terminate" -> "Abort" Quote Link to comment
Michael Aivaliotis Posted January 5, 2019 Report Share Posted January 5, 2019 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.