Add Svc/CmdSequencer
timeout update command and command to ignore command errors
#1112
timcanham
announced in
Call for Comments
Replies: 2 comments 3 replies
-
<command kind="async" opcode="8" mnemonic="CS_SET_ERROR_MODE">
<comment>Set the sequencer command error handling mode</comment>
<args>
<arg type="ENUM" name="resp">
<comment>What the response should be</comment>
<enum name="SeqErrResp">
<item name="SEQ_ERR_RESP_FAIL"/>
<item name="SEQ_ERR_RESP_IGNORE"/>
</enum>
</arg>
</args>
</command> A command that may safely fail can be surrounded by the command to |
Beta Was this translation helpful? Give feedback.
1 reply
-
Is there a reason that neither of these are parameters? Is the only use case for adjusting the default, temporary? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Import commands from a previous project to override the default sequencer timeout and to optionally ignore command failure responses.
This value is
0
by default ifsetTimeout()
is not called, which means it will block indefinitely waiting for command completions to come back from components.This command will modify the stored timeout, which will become effective on the next command.
This command can be useful if a default timeout is adequate for almost all commands with some commands that are known to take longer. These commands can be surrounded by
CS_SET_TIMEOUT
commands to temporarily override the value.Beta Was this translation helpful? Give feedback.
All reactions