NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

breakpoint bit

Solved!
Go to solution

Is there in Teststand Context a bit that shows if the breaktpoint was set?

0 Kudos
Message 1 of 6
(4,881 Views)

I'm not sure I follow what you are asking.  Do you want to see if they breakpoint is enabled?  Or if the condition for it was met?  Or if it even exists?

 

Regards,

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

I want to see if it was enabled.

0 Kudos
Message 3 of 6
(4,860 Views)

Hi,

 

Put this in a statement step :

Locals.bool=RunState.Engine.StationOptions.BreakpointsEnabled

This returns True for enabled.

 

Ravi

0 Kudos
Message 4 of 6
(4,846 Views)

Thanks SunRS, but that wasn't my purpose. I want to see if the breakpoint is set or was set in step(s) before.

0 Kudos
Message 5 of 6
(4,824 Views)
Solution
Accepted by Rokot

See the API help for: Step.GetBreakSettings()

 

Hope this helps,

-Doug

Message 6 of 6
(4,817 Views)