06-10-2020 03:56 PM
does this make sense?
I have 12 DQMH cloneables that are running when a user presses "start test". The test sequence is very sequential where its just write a message, read a message, decode a message, pass/fail based on decoded message etc.
I was thinking of having the EHL handle the public requests to start,stop,pause, abort test etc. The MHL would then wake up a state machine loop which is sitting below by sending a user event to wake up. The state machine would just run through its sequential steps over and over until a fail or time expires. I was thinking of putting a JKI state machine below the MHL.
Right now I have 5 loops which are EHL, MHL, Write command helper loop, Read helper loop, decode helper loop. They are running somewhat asynchronously.
Solved! Go to Solution.
06-10-2020 04:02 PM
Yes, that makes sense. I've done something very similar, the MHL wakes up a helper loop to start a state machine. In my case it was a Simple State Machine, but otherwise the same as your scenario.
06-12-2020 10:05 AM
Thank you this worked and solved some of my issues.