NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Break Point Dialog

Solved!
Go to solution
Hello,
 
I want to use CVI create a button. When I press this button, this dialog (come from teststand) will be displayed. How can I do this?
 
无标题.gif
0 Kudos
Message 1 of 4
(3,395 Views)

Take a look at the ReportOptions callback in one of the NI stock process models. This is an example how to call external dialogs. Instead of configuration entry point, you could instead trigger it via a menu option or a toolbar button. There's information on how to do this on the web and in the TestStand manual.

 

As for the dialog itself, you'll have to find a way to hook into TestStand's breakpoint mechanisms. Hopefully you won't have to do something as ridiculous as track them on your own, but I don't know offhand of an easy way to retreive all breakpoints in existance.

0 Kudos
Message 2 of 4
(3,385 Views)
Solution
Accepted by hejy

If you are writing a UI using the TestStand ApplicationMgr control you can use CommandKind_DisplayBreakpointsAndWatchExpressions to display this dialog. See the API help for more information.

 

If you are not using the ApplicationMgr control you can call the Engine API Engine.DisplayEditBreakAndWatchDialog() directly.

 

Hope this helps,

-Doug

 

 

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

Your answer is very helphul for me, thank you very much.

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