03-12-2021 12:50 AM
Hello,
I am looking for an example (sample code) for a csharp ui that will be able to open a TestStand sequence file and run the steps in it step by step:
# which objects do i need to create from csharp:
Engine? Execution ? Thread? SequenceContext?
# then, after i open SequenceFile with the relevant path, how do i run it step by step ( = i access the first step -> run it -> get event or return val that it ended -> asks for its success / failure (and failure message) -> show its progress in my csharp ui to the user -> get the next step -> run it the same way.
I found examples that run full sequences from csharp (but not step by step)
I found examples in which the csharp code gets a SequenceContext or an engine or a sequenceView from a axControl (TestStand ui control) in a mixed testStand winforms ui insteac of creating it.
but i could not find an example in which the csharp does it all independently.
i would like to know how to have full control from csharp on running the sequence.
I would really appreciate such an example or sample code
thanks in advance
regards
Lior Meister