Is there a way to find out programmatically if the sequence ends?

I can determine if a sequence has failed (RunState.SequenceFailed), Errored (RunState.SequenceError.Occurred) and is on go to cleaning (RunState.GotoCleanup), but I don't know how to determine if the sequence ends. Is there a Boolean value or another way to determine this?

Objective: I believe that cleaning MainSequence work again even if a sequence ends. I wish I had a step in cleaning that works only for a dismissal (must be in "MainSequence"). Is this possible?

Thank you!

I may have been able to get Execution.GetStates () to work, however, after reviewing the methods of execution, I found an alternative. I was looking for to use this as a precondition, so I don't know how to use GetStates() in the prerequisite (because it returns the State to another variable) without calling it in another statement before the one that interests me. I'm güssing there is a way (maybe I'm overthinking that), but what follows, worked for me:

Solution:

RunState.Execution.GetTerminationMonitorStatus (Locals.TerminationMonitor)

where Locals.TerminationMonitor is an object reference variable initialized to RunState.Execution.InitTerminationMonitor () beginning of the test (I did it in the configuration of MainSequence steps).

Thanks again!

Tags: NI Software

Similar Questions

Maybe you are looking for

  • Black screen on a Macbook Pro

    Hello Unfortunately today my macbookpro fell at the entrance to a meter. At this time, when I opened first my mac, I see the Office for about 30 seconds the screen is all black disappeared. Now when I try to open it, I hear the mac start sound but th

  • Satellite A60-124: using the IrDA port to transfer the data to the mobile phone

    Hi, I want to Exchange data between a phone mobile SonyEricsson and my laptop A60 - 124 via an IrDA port. I activated the infrared sensor in the phone but the laptop does not detect anything. The device setting menu shows my port Irda ok and seems to

  • HP Pavilion laptop 14: hard drive replacement policy?

    When I replace my old hdd (hard drive) again one on the support site... engineer on site will take my old hdd? is it necessary or any policy back from the old hdd can only get nine... or I have to keep my old hdd with myself... Please clear my doubt.

  • HP d2545: Please help

    Hi can some teach me how to print photos using hp2545b? ESP. 4 X 6 size... pls thank you

  • Maximum refresh rate 1920 x 1080 XB280HK when using G-Sync.

    I read this refresh rate maximum for resolution of 3840 x 2160 4K East of 60 Hz. What is the rate of maximum framerate for XB280HK in Full HD 1920 x 1080 resolution, when using G-Sync? Or limited to 60 Hz as well?