NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Step settings pane in custom sequence editor

Solved!
Go to solution
I am trying to implement a custom UI, which is similar to the examples given by NI. What I miss, though, is the step settings pane. I can edit the step settings in the example with the edit menu >> step settings dialog, but I would like to have a pane on the main window, similar to what you see in the full version. I thought it would be as easy as inserting an insertion pane, but it isn't... Does anyone has an example of how to implement such pane?
0 Kudos
Message 1 of 4
(3,723 Views)
Solution
Accepted by topic author paicolman

Hi paicolman,

 

Right now the Step Properties Pane in the Sequence Editor is built into the Sequence Editor and, therefore, only available within the Sequence Editor not in the custom Operator interface.

 

The reason why the one in the Sequence Editor looks different is because it is a more compact design so it could easily fit into the Sequence Editor as a pane and not another popup window. The one for the OI is a popup window, so it doesn't need to be so small and compact.

 

If you wanted to modify the Step Properties dialog, you would have to completely construct your own dialog and change the callback that connects the command kind. It would be pretty difficult to implement, so using the default dialog is recommended.

 

Greetings,

cheggers

Sascha
Message 2 of 4
(3,712 Views)

Hi Cheggers,

 

Thanks for the answer, I imagined that it would be quite hard to implement. We'll have to live with the popup dialog, which is less handy than having most of the things just on the main window...

0 Kudos
Message 3 of 4
(3,709 Views)

Hi,

I'm trying to implement Step Properties editor in my custom OI and using TSUI_CommandsInsertKind (cmds, &errorInfo, TSUIConst_CommandKind_Edit_StepProperties, gMainWindow.sequenceFileViewMgr, -1, "", "", NULL).

Unfortunately the Properties popup  appears with all options disabled. Do you have idea how to resolve this?

Thanks

0 Kudos
Message 4 of 4
(3,371 Views)