A Python real-time sequence is a Python function decorated with the niveristand.nivs_rt_sequence
decorator. For example, the following sequence calls a function and checks the result.
../examples/basic_examples.py
The function also takes in some parameters. You must define parameters using the niveristand.NivsParam
decorator.
../examples/basic_examples.py
You can now run the test just like any other Python function. You can run it non-deterministically, as in the following example:
../examples/basic_examples.py
Or, you can run the test deterministically on the VeriStand engine connected to your system.
../examples/basic_examples.py
To create a fully-automated test environment, you can mix the api_reference/legacy
with Python real-time sequences.
../examples/legacy_mix.py
../examples/basic_examples.py
../examples/basic_examples.py
../examples/basic_examples.py