Stopping sequence execution

Dino Morio

Posted on 10.01.2018 16:46

Are there any option for stopping the execution of a sequence?

Both Stop and Stop Storing action blocks don't stop the execution?

DEWESoft Support
Technical support
Posted on 11.01.2018 10:47

Hi,

a sequence will stop when it reaches the final block. Even more accurate would be to say a block that's not connected to anything. If you want use a "Terminate block", then you can make your own custom block and use it in several places. You could for example add a 5 second delay telling the user that the sequence will end. Then you could re-use the same custom block without having to add the delay block over and over again.

The "Stop" action refers to stopping the acquisition (measurement). The "Stop storing" action on the other hand will, as the name suggests, stop storing data.

Dino Morio

Posted on 11.01.2018 10:55

Thanks for the reply.

I understand all of that.

Let me put it another way, I would like to terminate the flow of the sequence and not allow it to reach the final block. Is this possible?

DEWESoft Support
Technical support
Posted on 15.01.2018 08:44

Hi,

I believe that is not possible at the moment, other than manually terminating the sequence with the stop button. Could you please just explain how terminating a sequence without it reacing the end of the line is different, and what its use case would be? Thanks!

Dino Morio

Posted on 15.01.2018 10:53

Hi. Thanks for the feedback.

I have a need for this when handling exceptions. I have used several custom blocks and call them from the main sequence. If an error (not a dewesoft error) has occurred in one of the custom blocks, I would like to put some pop ups for the user and stop the flow of execution.

The problem at the moment is, I cannot do this as the sequencer continues to execute the remaining blocks and eventually reach the main sequence and generate a dewesoft error as it couldn't initialize a variable for eg. I then press the Stop button which ends the sequence. This is not how I want it as its not a controlled Stop.

Now I know, I could put a condition statement in each of the custom blocks and check if an exception as occurred, but that would over complicate things. It would have been nice if I could just terminate the sequence after letting the user know about the exception.

It seems like pressing the Stop button is what I want, but which Action block would do this?

DEWESoft Support
Technical support
Posted on 15.01.2018 15:12

Hi,

I'm sorry for the misunderstanding. I totally forgot that you can't leave an open line in a custom block. It will just continue with the execution. I've spoken with the sequencer's developer and he agreed to add an action that can stop the sequence. I'll let you know when it'll be available.

Dino Morio

Posted on 25.01.2018 11:03

Hi, Are you closer to releasing the update?

DEWESoft Support
Technical support
Posted on 30.01.2018 07:35

Hi,

I've just tried out the new feature after it had successfully passed our automated tests. You can find it under the action block, sequencer and then finally the stop sequence option. It will be included in a new X3 SP3 version, which should get uploaded to our website today, or at least by the end of the week.


Attached files:
Dino Morio

Posted on 05.02.2018 11:26

Hi,

When can I expect the update (X3 SP3)?


Dino Morio

Posted on 09.02.2018 10:17

Hi,

Can somebody tell me when X3 SP3 will be ready for downloading?

Login to reply to this topic. If you don't have account yet, you can signup for free account .