04-05-2013 11:16 AM
Hi,
I would like to design a simply Test Sequencer that can execute testing on multiple device in asynchronous.
I knew that TestStand is the best solution for my task, but due to some constraints I am not able to use it.
There are so many way can do it (create multiple event in same case, run the application in multiple instance ).
But I would like to know is there any good method to design this for easier maintainability and sustainability in future.
Any suggestion or example?
Thanks.
04-05-2013 04:10 PM
Yes this is possible you just need to construct your own state machine. There are a number of useful templates out there on the communities:
Sequencer Example: A User Configurable State Machine
JKI String Based State Machine
You can also search for "state machine" or "sequence architecture" to find lots of use links, tutorials, and examples.
04-05-2013 04:33 PM
You will also want to read through Elijah Kerry's new whitepaper on the subject.
04-11-2013 08:27 AM
Yes there are a lot of state machine examples, but I still not yet found anyone can do parallelism job in single GUI.
04-11-2013 09:44 AM
@TanTan wrote:
Yes there are a lot of state machine examples, but I still not yet found anyone can do parallelism job in single GUI.
Generally for GUI releated items you can use a producer/consumer architecture.
You might want to be a bit more specific about what you aretrying to solve. You discuss implementing and sequential test excution engine and then add parallelism. Which are you trying to do? What exactly is your goal?
04-11-2013 08:53 PM
Sorry for my weak description in last statement. Here are the basic requirements in my state machine that I am looking for solution.
1. Use single application to perform functional test on more than 1 device (may up to 100 devices)
2. The functional test of multiple devices can be started/stopped asynchronously.
3. The test completion status of all devices will be display on GUI.
Thanks.