04-08-2021 02:18 PM
Hello,
I have encountered an extremely frustrating bug.
I have a VI (host side) which interfaces with a cRIO-9040 FPGA and does measurements.
I was testing code on the host VI, and accidentally put a "Single Button Dialog" pop-up window in a fast running for loop, forcing me to use Task Manager to end LabVIEW.
Ever since then, when I run the VI, LabVIEW freezes completely! No errors are displayed, but the cursor changes to a hand with a single finger, and I am unable to interact at all with LabVIEW.
I have edited the code (I tried using VI server ref and having it abort immediately) numerous ways to cause it to try and reset, however, it doesn't help, it immedaitely freezes.
It seems like that VI thinks that a "dialog" window is open, is there any way to reset this?????
I have renamed the VI, copied the code to another, AND NOTHING has done anything...
Any suggestions how to fix this? The VI would be painful to write from scratch.
04-08-2021 02:25 PM
@Gryffin wrote:
the cursor changes to a hand with a single finger,
Which finger? 😆
Have you tried restarting LabVIEW or your PC?
04-08-2021 02:31 PM
Mass compile
04-08-2021 02:59 PM
Hello,
Did you try to copy/paste the code into a new VI ? Or to save it for a previous version of LabVIEW ? It may force a kind of copy of the code, potentially without the "freeze source" in it (...or not).
It will not solve your current issue, but perhaps should you consider using source code control to avoid, the next time this problem or a similar one occurs, a re-write from scratch of your VI (SVN, Git, Mercurial, Perforce...)
Best regards,