NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a top level menu to TestStand Sequence Editor

Hi,

Am unable to add a new top level menu item like File, Edit, Tools, Windows in Sequence Editor. Is it possible to add the same? Can anyone share code snippet to use TestStand API so that a new menu is created?

 

Please find the attached snapshot and am trying to add "NewMenu" to SeqEdit. 

 

TestStand Version is 4.0 

 

Thanks

Mrm 

0 Kudos
Message 1 of 5
(3,479 Views)

Hello Mrm,

 

Adding a new menu is not going to be possible since the source code of the Sequence Editor is not accessible. However, you do have a few options:

 

1) Add a new toolbar

 

2) Create and entry point (configuration or execution) that will show in one of the existing menus. Here is a KnowledgeBase article that describes this more.

 

3) Customize the right click context menus.

 

4) Build your own UI or customize one of the shipping UI's (since you have access to that source code).

 

What is the overall goal in doing this? Let me know so I can assist you further if needed.

 

 

With warm regards,

David D.
0 Kudos
Message 2 of 5
(3,454 Views)

Hello Dr. Doiron,

 

The goal is to display utilities created at a prominent place on Sequence Editor window.

I was thinking of 2 options

  1. Have a top level menu and display all the utilities under new menu
  2. Have a new pane (tab) to display these as discussed in http://forums.ni.com/ni/board/message?board.id=330&thread.id=20913

These 2 approaches end up for the same objective.

 

Thanks,

Manohar/Mrm

0 Kudos
Message 3 of 5
(3,436 Views)

Hello Manohar,

 

Neither of the options are going to be possible in the Sequence Editor since the source code is not available, however as I mentioned you have the 4 options listed above.

 

I will post a link to this thread in the other thread so we can concentrate this knowledge for future customers.

With warm regards,

David D.
0 Kudos
Message 4 of 5
(3,402 Views)

Thanks David for the advice, i'll try and explore the usage of the 4 options you suggested.

 

Best Regards,

Manohar

0 Kudos
Message 5 of 5
(3,385 Views)