01-28-2020 12:53 PM
Seeing a strange behavior in my project.I can't see any of my shift register nodes on the while loop. Some of them disappeared when I used the block diagram cleanup tool. My block diagram spans to two monitors width and is pretty complex. Is there any solution to this? Also are there any third party plugins that is solely utilized to clean up the code? The clean up doesn't seem to be working for large block diagrams.
Solved! Go to Solution.
01-28-2020 12:56 PM
Posting your code would be the best way to get help. It looks like from the one picture that you did post that the part you showed the vi is covered by the loop. Try to open the loop to see if things are covered up. There is also a setting in LabVIEW that will show covered items.
01-28-2020 01:03 PM
That's the problem. I can't post the code. Could you please tell me about the setting in LabVIEW? I am using 2019 version if that's of any help.
01-28-2020 01:09 PM
You have two problems:
01-28-2020 01:12 PM
I always say, "If the block diagram cleanup tool makes your code look better, then you're doing it wrong."
01-28-2020 03:16 PM
@asukumari wrote:
That's the problem. I can't post the code. Could you please tell me about the setting in LabVIEW? I am using 2019 version if that's of any help.
Ctrl-L
Click the "Show Warnings" box.
01-28-2020 06:53 PM
@asukumari wrote:
My block diagram spans to two monitors width and is pretty complex. Is there any solution to this?
With regards to that bit, you might find the tools to create subVIs from selections of code useful (Edit > Create SubVI).
If your code is large and complicated, your first step should be trying to reduce the local complexity - make it possible to identify which bits do what.
SubVIs with suitable names and icons will make it much less complicated to understand, whilst conveniently also reducing block diagram size (for a single VI - the total may well increase depending on if the subVIs are repeatedly called or not).