03-13-2013 11:54 AM
While editing some VIs, my fingers slipped and I entered a back door into a place where I wasn't supposed to be.
So of course I had to poke around. And I discovered a way to break a global VI.
The challenge is:
1. Figure out why the VI is broken.
2. Fix the VI.
Solved! Go to Solution.
03-13-2013 02:40 PM
1. ??? Gloabal memory usage seems a bit off. ???
2. Does the attached work?
-AK2DM
03-13-2013 02:51 PM
1. You're on the right track, The broken VI has something extra.
2. You didn't fix the broken on, you just built a new one.
From now on, use the VI attached to this post rather than the original (It will be easier to tell if a 'repaired' VI is from the one provided).
03-13-2013 03:10 PM
Somehow you managed to put a label and a Not primitive on the BD.
-AK2DM
03-13-2013 03:18 PM - edited 03-13-2013 03:19 PM
@AnalogKid2DigitalMan wrote:
Somehow you managed to put a label and a Not primitive on the BD.
Well, I was going to say that the unwired not primitive on the BD which shouldn't exist is probably not helping things, but it looks like you beat me to it...
P.S. And yes, I did leave that comment there.
03-13-2013 03:27 PM
It was here, not there, within the comment 🙂
I can't figure out how to fix it, I have to go measure some micron-level stuff for now.
-AK2DM
03-13-2013 03:33 PM
@AnalogKid2DigitalMan wrote:
I can't figure out how to fix it
By deleting the unwired not, like so.
03-13-2013 03:51 PM
My path to the BD was:
1. Drop the global onto a Static VI reference.
2. Hold down Ctrl while double-clicking that reference.
Is that how you got in?
03-13-2013 03:55 PM
@paul_a_cardinale wrote:
My path to the BD was:
1. Drop the global onto a Static VI reference.
2. Hold down Ctrl while double-clicking that reference.
Is that how you got in?
No. While someone once showed me that method, which he stumbled upon accidentally, I didn't remember it. I used the heap peek window.
03-14-2013 03:14 AM
I created a beta bug for this behavior. I'm not sure if NI will actually do something about it, because it's a corner case, but now it's up to them.