nitypes.waveform.DigitalWaveformFailure

class nitypes.waveform.DigitalWaveformFailure

A test failure, indicating where the actual waveform did not match the expected waveform.

sample_index: int

The sample index into the compared waveform where the test failure occurred.

expected_sample_index: int

The sample index into the expected waveform where the test failure occurred.

signal_index: int

The signal index where the test failure occurred.

actual_state: nitypes.waveform.DigitalState

The state from the compared waveform where the test failure occurred.

expected_state: nitypes.waveform.DigitalState

The state from the expected waveform where the test failure occurred.