Aristos Queue Posted February 19, 2020 Report Share Posted February 19, 2020 Issue: Customers have noted that every once in a while, right-click operations implemented in G do not work, but when they try to reproduce the issue, everything works fine. Some users have written the issue off to "I must have clicked the wrong thing." But, no, it turns out that there's a rare race condition in the transaction logic for the right-click plugins. You can fix it by downloading one VI and replacing the version that ships with LabVIEW. Details here: https://forums.ni.com/t5/LabVIEW-Shortcut-Menu-Plug-Ins/Bug-Fix-for-ALL-Right-Click-Menu-Plug-Ins-LV2015-to-2019/ta-p/4016064 The bug? Don't close your refnum while you're still using the refnum. *head smack* And for those of you who tell me that refnum programming is easy, I'm adding this as evidence number N+1 that, "Sure, it's easy... easy to screw up." Long live dataflow! 🙂 1 1 Quote Link to comment
Porter Posted February 19, 2020 Report Share Posted February 19, 2020 On 2/19/2020 at 5:01 PM, Aristos Queue said: Customers have noted that every once in a while, right-click operations implemented in G do not work Expand Are you talking about right click during edit time or during runtime? Does this explain the random right click of doom that freezes LabVIEW after right clicking on an item in project explorer? Quote Link to comment
Darren Posted February 19, 2020 Report Share Posted February 19, 2020 On 2/19/2020 at 5:20 PM, Porter said: Are you talking about right click during edit time or during runtime? Does this explain the random right click of doom that freezes LabVIEW after right clicking on an item in project explorer? Expand He's talking about edit-time panel and diagram menus and run-time diagram menus that are implemented as right-click plugins. This bug fix does not affect right-clicks in the project window. 1 Quote Link to comment
Jordan Kuehn Posted February 19, 2020 Report Share Posted February 19, 2020 Whoa, this might be a game changer. I had written off RCF stuff years ago because of behavior like this. Just assumed I was screwing it up and continued on without it despite seeing lots of cool stuff available. Quote Link to comment
Aristos Queue Posted February 20, 2020 Author Report Share Posted February 20, 2020 On 2/19/2020 at 5:20 PM, Porter said: Are you talking about right click during edit time or during runtime? Expand Edit time. These are right-click plugins that make edits to the VIs and then those edits get immediately undone. On 2/19/2020 at 5:20 PM, Porter said: Does this explain the random right click of doom that freezes LabVIEW after right clicking on an item in project explorer? Expand I don't know what you are referring to, but, no, these are block diagram plug-ins. See https://ni.com/lvmenus for details if you don't know about these useful tools. 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.