- Systems
- Parameters
- Containers
- Algorithms
- Commands
- Encodings
- Calibrators
- Alarms
- Ancillary
- Data Types
- Exceptions
- Expressions
- Verifiers
- Verifier
- TransferredToRangeVerifier
TransferredToRangeVerifier
TransferredToRangeVerifier.__init__()
TransferredToRangeVerifier.check
TransferredToRangeVerifier.delay
TransferredToRangeVerifier.extra
TransferredToRangeVerifier.name
TransferredToRangeVerifier.on_fail
TransferredToRangeVerifier.on_success
TransferredToRangeVerifier.on_timeout
TransferredToRangeVerifier.timeout
- SentFromRangeVerifier
- ReceivedVerifier
- AcceptedVerifier
- QueuedVerifier
- ExecutionVerifier
- CompleteVerifier
- FailedVerifier
- TerminationAction
- AlgorithmCheck
- ContainerCheck
- ExpressionCheck
Verifiers¶
Verifier¶
- class yamcs.pymdb.Verifier¶
Bases:
object
Verifier(check: ‘Check’, timeout: ‘float’, delay: ‘float’ = 0, name: ‘str | None’ = None, on_success: ‘TerminationAction | None’ = None, on_fail: ‘TerminationAction | None’ = None, on_timeout: ‘TerminationAction | None’ = None, extra: ‘dict[str, str]’ = <factory>)
- __init__(check: yamcs.pymdb.verifiers.AlgorithmCheck | yamcs.pymdb.verifiers.ContainerCheck | yamcs.pymdb.verifiers.ExpressionCheck, timeout: float, delay: float = 0, name: ~typing.Optional[str] = None, on_success: ~typing.Optional[~yamcs.pymdb.verifiers.TerminationAction] = None, on_fail: ~typing.Optional[~yamcs.pymdb.verifiers.TerminationAction] = None, on_timeout: ~typing.Optional[~yamcs.pymdb.verifiers.TerminationAction] = None, extra: dict[str, str] = <factory>) → None¶
- check: AlgorithmCheck | ContainerCheck | ExpressionCheck¶
Check to perform
- on_fail: TerminationAction | None = None¶
What it means for the whole command, when this single verifier fails
- on_success: TerminationAction | None = None¶
What it means for the whole command, when this single verifier succeeds
- on_timeout: TerminationAction | None = None¶
What it means for the whole command, when this single verifier times out
TransferredToRangeVerifier¶
- class yamcs.pymdb.TransferredToRangeVerifier¶
Bases:
Verifier
A verifier that checks whether the command has been received to the network that connects the ground system to the spacecraft.
The result of this verifier must originate from something other than the spacecraft.
- __init__(check: yamcs.pymdb.verifiers.AlgorithmCheck | yamcs.pymdb.verifiers.ContainerCheck | yamcs.pymdb.verifiers.ExpressionCheck, timeout: float, delay: float = 0, name: ~typing.Optional[str] = None, on_success: ~typing.Optional[~yamcs.pymdb.verifiers.TerminationAction] = None, on_fail: yamcs.pymdb.verifiers.TerminationAction | None = TerminationAction.FAIL, on_timeout: ~typing.Optional[~yamcs.pymdb.verifiers.TerminationAction] = None, extra: dict[str, str] = <factory>) → None¶
- check: AlgorithmCheck | ContainerCheck | ExpressionCheck¶
Check to perform
- on_fail: TerminationAction | None = 2¶
What it means for the whole command, when this single verifier fails
- on_success: TerminationAction | None = None¶
What it means for the whole command, when this single verifier succeeds
- on_timeout: TerminationAction | None = None¶
What it means for the whole command, when this single verifier times out
SentFromRangeVerifier¶
- class yamcs.pymdb.SentFromRangeVerifier¶
Bases:
Verifier
A verifier that checks whether the command been transmitted to the spacecraft by the network that connects the ground system to the spacecraft.
The result of this verifier must originate from something other than the system.
- __init__(check: yamcs.pymdb.verifiers.AlgorithmCheck | yamcs.pymdb.verifiers.ContainerCheck | yamcs.pymdb.verifiers.ExpressionCheck, timeout: float, delay: float = 0, name: ~typing.Optional[str] = None, on_success: ~typing.Optional[~yamcs.pymdb.verifiers.TerminationAction] = None, on_fail: yamcs.pymdb.verifiers.TerminationAction | None = TerminationAction.FAIL, on_timeout: ~typing.Optional[~yamcs.pymdb.verifiers.TerminationAction] = None, extra: dict[str, str] = <factory>) → None¶
- check: AlgorithmCheck | ContainerCheck | ExpressionCheck¶
Check to perform
- on_fail: TerminationAction | None = 2¶
What it means for the whole command, when this single verifier fails
- on_success: TerminationAction | None = None¶
What it means for the whole command, when this single verifier succeeds
- on_timeout: TerminationAction | None = None¶
What it means for the whole command, when this single verifier times out
ReceivedVerifier¶
- class yamcs.pymdb.ReceivedVerifier¶
Bases:
Verifier
A verifier that checks that the system has received the command
- __init__(check: yamcs.pymdb.verifiers.AlgorithmCheck | yamcs.pymdb.verifiers.ContainerCheck | yamcs.pymdb.verifiers.ExpressionCheck, timeout: float, delay: float = 0, name: ~typing.Optional[str] = None, on_success: ~typing.Optional[~yamcs.pymdb.verifiers.TerminationAction] = None, on_fail: yamcs.pymdb.verifiers.TerminationAction | None = TerminationAction.FAIL, on_timeout: ~typing.Optional[~yamcs.pymdb.verifiers.TerminationAction] = None, extra: dict[str, str] = <factory>) → None¶
- check: AlgorithmCheck | ContainerCheck | ExpressionCheck¶
Check to perform
- on_fail: TerminationAction | None = 2¶
What it means for the whole command, when this single verifier fails
- on_success: TerminationAction | None = None¶
What it means for the whole command, when this single verifier succeeds
- on_timeout: TerminationAction | None = None¶
What it means for the whole command, when this single verifier times out
AcceptedVerifier¶
- class yamcs.pymdb.AcceptedVerifier¶
Bases:
Verifier
A verifier that checks that the system has accepted the command
- __init__(check: yamcs.pymdb.verifiers.AlgorithmCheck | yamcs.pymdb.verifiers.ContainerCheck | yamcs.pymdb.verifiers.ExpressionCheck, timeout: float, delay: float = 0, name: ~typing.Optional[str] = None, on_success: ~typing.Optional[~yamcs.pymdb.verifiers.TerminationAction] = None, on_fail: yamcs.pymdb.verifiers.TerminationAction | None = TerminationAction.FAIL, on_timeout: ~typing.Optional[~yamcs.pymdb.verifiers.TerminationAction] = None, extra: dict[str, str] = <factory>) → None¶
- check: AlgorithmCheck | ContainerCheck | ExpressionCheck¶
Check to perform
- on_fail: TerminationAction | None = 2¶
What it means for the whole command, when this single verifier fails
- on_success: TerminationAction | None = None¶
What it means for the whole command, when this single verifier succeeds
- on_timeout: TerminationAction | None = None¶
What it means for the whole command, when this single verifier times out
QueuedVerifier¶
- class yamcs.pymdb.QueuedVerifier¶
Bases:
Verifier
A verifier that checks that the command is scheduled for execution by the system
- __init__(check: yamcs.pymdb.verifiers.AlgorithmCheck | yamcs.pymdb.verifiers.ContainerCheck | yamcs.pymdb.verifiers.ExpressionCheck, timeout: float, delay: float = 0, name: ~typing.Optional[str] = None, on_success: ~typing.Optional[~yamcs.pymdb.verifiers.TerminationAction] = None, on_fail: yamcs.pymdb.verifiers.TerminationAction | None = TerminationAction.FAIL, on_timeout: ~typing.Optional[~yamcs.pymdb.verifiers.TerminationAction] = None, extra: dict[str, str] = <factory>) → None¶
- check: AlgorithmCheck | ContainerCheck | ExpressionCheck¶
Check to perform
- on_fail: TerminationAction | None = 2¶
What it means for the whole command, when this single verifier fails
- on_success: TerminationAction | None = None¶
What it means for the whole command, when this single verifier succeeds
- on_timeout: TerminationAction | None = None¶
What it means for the whole command, when this single verifier times out
ExecutionVerifier¶
- class yamcs.pymdb.ExecutionVerifier¶
Bases:
Verifier
A verifier that checks that the command is being executed.
- __init__(check: yamcs.pymdb.verifiers.AlgorithmCheck | yamcs.pymdb.verifiers.ContainerCheck | yamcs.pymdb.verifiers.ExpressionCheck, timeout: float, delay: float = 0, name: ~typing.Optional[str] = None, on_success: ~typing.Optional[~yamcs.pymdb.verifiers.TerminationAction] = None, on_fail: yamcs.pymdb.verifiers.TerminationAction | None = TerminationAction.FAIL, on_timeout: ~typing.Optional[~yamcs.pymdb.verifiers.TerminationAction] = None, extra: dict[str, str] = <factory>) → None¶
- check: AlgorithmCheck | ContainerCheck | ExpressionCheck¶
Check to perform
- on_fail: TerminationAction | None = 2¶
What it means for the whole command, when this single verifier fails
- on_success: TerminationAction | None = None¶
What it means for the whole command, when this single verifier succeeds
- on_timeout: TerminationAction | None = None¶
What it means for the whole command, when this single verifier times out
CompleteVerifier¶
- class yamcs.pymdb.CompleteVerifier¶
Bases:
Verifier
A verifier that checks whether the command to be considered completed
- __init__(check: Check, timeout: float, delay: float = 0, name: str | None = None, on_success: TerminationAction | None = TerminationAction.SUCCESS, on_fail: TerminationAction | None = TerminationAction.FAIL, on_timeout: TerminationAction | None = None, extra: dict[str, str] = <factory>, return_parameter: Parameter | None = None) → None¶
- check: Check¶
Check to perform
- on_fail: TerminationAction | None = 2¶
What it means for the whole command, when this single verifier fails
- on_success: TerminationAction | None = 1¶
What it means for the whole command, when this single verifier succeeds
- on_timeout: TerminationAction | None = None¶
What it means for the whole command, when this single verifier times out
FailedVerifier¶
- class yamcs.pymdb.FailedVerifier¶
Bases:
Verifier
A verifier that checks that the command failed.
- __init__(check: Check, timeout: float, delay: float = 0, name: str | None = None, on_success: TerminationAction | None = TerminationAction.FAIL, on_fail: TerminationAction | None = None, on_timeout: TerminationAction | None = None, extra: dict[str, str] = <factory>, return_parameter: Parameter | None = None) → None¶
- check: Check¶
Check to perform
- on_fail: TerminationAction | None = None¶
What it means for the whole command, when this single verifier fails
- on_success: TerminationAction | None = 2¶
What it means for the whole command, when this single verifier succeeds
- on_timeout: TerminationAction | None = None¶
What it means for the whole command, when this single verifier times out
TerminationAction¶
AlgorithmCheck¶
- class yamcs.pymdb.AlgorithmCheck¶
Bases:
object
- __init__(algorithm: UnnamedAlgorithm)¶