LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Execute list of sequence in asynchronous

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.

 

 

0 Kudos
Message 1 of 6
(2,823 Views)

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.

Wire Warrior

Behold the power of LabVIEW as my army of Roomba minions streaks across the floor!
0 Kudos
Message 2 of 6
(2,798 Views)

You will also want to read through Elijah Kerry's new whitepaper on the subject.

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 6
(2,792 Views)

Yes there are a lot of state machine examples, but I still not yet found anyone can do parallelism job in single GUI.

0 Kudos
Message 4 of 6
(2,752 Views)

@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?



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 5 of 6
(2,748 Views)

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.

0 Kudos
Message 6 of 6
(2,736 Views)