Jump to content

Bug Fix for ALL Right-Click Menu Plug-Ins (LV2015 to 2019)


Recommended Posts

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! 🙂

  • Like 1
  • Thanks 1
Link to comment
16 minutes ago, Aristos Queue said:

Customers have noted that every once in a while, right-click operations implemented in G do not work

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?

Link to comment
19 minutes ago, 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?

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.

  • Thanks 1
Link to comment
On 2/19/2020 at 11:20 AM, Porter said:

Are you talking about right click during edit time or during runtime?

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 11:20 AM, Porter said:

Does this explain the random right click of doom that freezes LabVIEW after right clicking on an item in project explorer?

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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.