From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Using the Make Selection method in my plugin script does result in objects being selected when the script ends, but they do not appear with marching ants, or even with a dotted outline.
If I apply the method Move Selection To Front, I can consistently get non-marching ants (aka dotted line) on the selected objects when my script ends, but mousing over the selected objects causes the dotted line to disappear.
In some cases Move Selection To Back gives me marching ants. I haven't hit on a method that does so consistently.
Is this problem specific to the plugin framework?
Title bar click does not cause ants to go a-marchin. 😞
I used a Flash.vi dummy. This shows and hides it's front panel when called. It doesn't do anything else. When a new selection is made, simply call the VI. It will flash (show and hide) and the DUT vi is activated again.
Used here: https://forums.ni.com/t5/LabVIEW-Shortcut-Menu-Plug-Ins/Select-parent-control/ta-p/3950888
For me, this triggered the ants to march.
EDIT: I think the problem is that VI is activated, and the scripting action doesn't trigger the ants. Activating the VI doesn't trigger the ants, as the VI was activated before. So there's no state change. The dummy popup deactivates the DUT, that activates it again, and the ants are triggered by the state change.
I was able to do something similar to your flash dummy VI. I tried many permutations of your trick, and I can now consistently get non-marching ants An improvement! Thank you.