NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

StepIn StepOut StepInto ActiveX Buttons

Solved!
Go to solution

Hi,

Here there a way to have StepIn StepOut StepInto ActiveX Buttons in a LV OI just like the terminate button ?

Or trough the TS engine with some methods ?

Thanks

Sebastien

0 Kudos
Message 1 of 4
(4,076 Views)

Just use the TestStand UI Button Control and connect it to the ExecutionView Manager with the CommandKind_StepInto, etc...

 

Attached is an image.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 4
(4,073 Views)

OK nice thank you !

But which is the best :

1) Customize a LV button. Connect a TS button like you said, and hide it. On the LV button value change event do a DoClick on the TS button.

2) Customize a LV button. Using the StepInto/Step... methods of the execution class on the LV button value change event.

3) Connect a TS button like you said, and show it (no icon on the button...)

4) Are the TS UI Debug Controls (the same as in the TS editor) available somewhere ?

0 Kudos
Message 3 of 4
(4,062 Views)
Solution
Accepted by topic author smi38

Option 4 the answer is no.

 

I would go with option 1 over option 2.  Because the ActiveX inherent functionality is a lot better than you could ever develop yourself (Option 2 is out).  No offense to your programming skills.  It's just a waste to re-invent the wheel.

 

This leaves us with Option 1 vs Option 3.  Personally it depends on the look and feel you want.  If you want a custom look then go with Option 1.  I've done that in the past with UIs and haven't had issues.  Option 3 will update the button text for you but you won't have the pretty icons.  Plust Option 3 is the easiest to implement and requires the least amount of maintenence.

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 4 of 4
(4,056 Views)