DQMH Consortium Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

DQMH Sequence Module parse or cloneablle?

Hello,everyone.

I have a question which frustrates me for a quiet while.

Nowadays, I am working on in PowerTool Life Test System. There is a place which need the user to define the test sequence steps(Like the below Impact Driver and LLO Sequence), I parsed these steps into a array then my Sequencer Module will realize the specific sequence step by step according the array. That’s easy for one ‘{…}’ loop.

But When a nested ‘{ { {…} } }’loop occurs(like below ),Is there a good way to parse the substeps out and tell the Sequencer Module execute the steps correctly?

SEQ String.png

Currently,I build a Cloneable Step Module to do the nested steps. I will create a step Module when parse "{" out, when start the steps Request, the Child Cloneable Step Module need to know parentes module ID.

but seems it not work well. I still not know where is wrong...

Nest Start Steps.png  

I wish I did not make the question complicate.

0 Kudos
Message 1 of 1
(2,573 Views)