NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Button bug with TestStand CVI User Interface?

 

If I create a button within the UIR of the CVI Test Executive with a name that matches any of the menu items of the User Interface ( File, View, Execute etc ) then my button text is replaced by the programming equivalent of the Menu item

 

e.g.

 

I want a button with the text 'VIEW' in it

when executed the button displays '&View' (I take it the ampersand is for the underscore under the V)

I'm not sure if this is a TestStand or CVI problem. (It doesn't occur on ALL of the systems I have, with the same distribution of Test Exec but that could be differences in the CVI RTE...)

 

Using TestStand 4.0

and problem occurs with CVI 8.0.1 & 8.5

 

I've tried this by creating a button 'VIEW' on the 'out the box' CVI Test Executive UIR and it converts it to '&View'

 

I can get round the problem by putting a space on either side of the button and the button is displayed as 'VIEW' as I'd like.

 

Just thought you might like to know.... 

 

 

 

 

0 Kudos
Message 1 of 4
(3,070 Views)

Hi Brian,

 

Many thanks for pointing this out. I shall make our R&D team aware of this and also file a Corrective Action Request.

 

Regards,

Mike W
Applications Engineer
National Instruments UK&Ireland
0 Kudos
Message 2 of 4
(3,022 Views)

Hi Brian,

 

Just a follow up on the issue you reported. I filed this as a Corrective Action Request, and they came back as saying it is not a bug as such, but a localisation issue. The UI localizes the text on all the controls for foreign language support. This happens when  the UI calls ApplicationMgr.LocalizeAllControls. If you want "VIEW" to show up on the button, you would need to edit the appropriate language file, in this case UIControlOperatorInterfaceStrings.ini, and make an entry for "VIEW".

 

A Corrective Action Request has been filed to review the documentation within Teststand to make it clearer about this functionality.

 

I hope this helps.

 

Regards,

 

 

 

Mike W
Applications Engineer
National Instruments UK&Ireland
Message 3 of 4
(2,966 Views)

Mike,

 

        Many thanks for looking into this for me. It's a lot clearer now!

 

       Regards,

 

                Brian

0 Kudos
Message 4 of 4
(2,961 Views)