07-19-2017 10:16 PM
Hi, all,
I'm using LV2016 64 bit and TS2016 64 bit. I'd like to print some useful status information to user if he pauses or resumes any step at any time. I failed to use UI message to get the step's detailed info such as step name.
The relate event codes are:
UIMsg_ResumeFromBreak:17
UIMsg_BreakOnBreakpoint:2
UIMsg_BreakOnUserRequest:1
Could you tell me what I missed?Thanks.
Solved! Go to Solution.
07-20-2017 01:59 AM
The reason for the behavior you are seeing is that breaking happens BETWEEN steps, not AT steps. That means that a breakpoint has no "step" object available.
Depending on the purpose, you could for instance check "NextStepIndex" and the get the step which should execute next from the sequence.
07-25-2017 07:39 AM
Hi, Norbert,
I'm understanding your comment. Could you give me a simple sequence for my reference?
07-25-2017 08:42 AM
Example: RunState.Sequence.Main[RunState.NextStepIndex].Name
Important thing is to keep track of the correct step group (in the example above, this is "Main").