Stimulus Profile APIs

class niveristand.clientapi.StimulusProfileState(session)

Contains the execution state of a real-time sequence.

class CompletionState

Enum used for possible completion states.

Aborted = 1

operation stopped forcefully.

Failed = 2

operation ran to completion, but an error occurred.

Success = 0

operation ran to completion successfully. No errors occurred.

completion_state

Returns the state after running.

Returns:state after the operation runs to completion. None if unfinished.
Return type:CompletionState
last_error

Returns the last error generated by the sequence.

Returns:final error the sequence generated.
Return type:niveristand.errors.SequenceError
ret_val

Returns the return value of the sequence.

Returns:the return value of the sequence.
Return type:(bool, int, float)
session

Returns the session you created to execute this sequence.

Returns:a session connected to the VeriStand Engine.
wait_for_result()

Waits for the sequence to finish running.

Returns:the value returned by the VeriStand Engine after this sequence runs.