NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TSDUMMYMENUITEM after 4.0.1 upgrade

I'm not sure if this is related to the upgrade but It happened right after so...
Whenever I click on the menus in my LabVIEW UI, I see this at the end of my menus:



Everytime i click on the menu, it adds one more to the list.


Message Edited by Michael Aivaliotis on 01-08-2008 02:35 PM


Michael Aivaliotis
VI Shots LLC
0 Kudos
Message 1 of 14
(5,489 Views)
I found the problem. I disabled this peice of code but why was it there in the first place?




Message Edited by Michael Aivaliotis on 01-08-2008 02:49 PM


Michael Aivaliotis
VI Shots LLC
0 Kudos
Message 2 of 14
(5,484 Views)
Michael,
 
Adding the dummy menu items was done to prevent the menus flickering on update for LV 8.5.  There is code to remove the menu item in TestStand - Cleanup Menus.vi from the TestStand palette.  Could you please check your UI to see if you are linking to the version in the pallette or to an old version of this VI?   The Version in the palette should have a subVI called Is Dummy Menu Item?  and a case statement that removes the dummy menu items.
 
-Rick Franics
0 Kudos
Message 3 of 14
(5,451 Views)
Hi Michael,

To add to Rick's response, I just thought I would post a couple screenshots of what he was mentioning, since I was looking into this as well.  Below is where the VI that calls the Is Dummy Menu Item? sub VI is located:



And here is where that Is Dummy Menu Item sub VI is located.



NickB
National Instruments
Applications Engineering
0 Kudos
Message 4 of 14
(5,440 Views)
So are you saying, in your second figure, that I need to add the "Is Dummy Menu Item" call as show (with the OR)?  Where do I find the "Is Dummy Menu Item" vi?
0 Kudos
Message 5 of 14
(5,215 Views)
Hello mrbean,

This was a specific reply to a rarely seen issue that Michael had reported.  If your menu's are displaying TSDUMMYMENUITEM, then you may need to look at adding that bit of code if it is not present in your OI.  If they are not, you don't need to worry yourself with it.  If you are using one of our shipping OI's this code should already be there, and you should not encounter this unless you have made rather major modifications to the OI. 

NickB
National Instruments
Applications Engineering
0 Kudos
Message 6 of 14
(5,199 Views)
My code has the first call (the one found in Full UI - Rebuild Menu Bar.vi), but not the second one (in TestStand - Cleanup Menus.vi).  The IsDummyMenuItem VI that goes into the OR, that little bit of code is not in my version.  That's why I was wondering if I could get that subVI from someone.
0 Kudos
Message 7 of 14
(5,196 Views)
I just noticed that you said "AFTER 4.0.1" - I'm using 4.0.  Do I have any other option other than to upgrade?
0 Kudos
Message 8 of 14
(5,193 Views)
Hello mrbean,

If you only have TestStand 4.0 installed, you should not have the VI "Add Dummy Menu Item" as shown in the second screenshot of this post. Your "Remove Commands From Menu's" VI should look like the following VI. 



Because of this, you should not be adding the dummy menu item, and should not therefore need to remove it.  Let us know if your experience differs from this.

NickB
National Instruments
Applications Engineering


Message Edited by nickb on 06-13-2008 11:47 AM
0 Kudos
Message 9 of 14
(5,178 Views)
Maybe I should have started all of this by saying, I too am having the same TSDUMMYMENUITEM problem as the original person.  So, with TS 4.0 installed, how do I get rid of it?
0 Kudos
Message 10 of 14
(5,172 Views)