nitypes.waveform.DigitalWaveformSignalCollection
- class nitypes.waveform.DigitalWaveformSignalCollection(owner: nitypes.waveform.DigitalWaveform[nitypes.waveform.typing.TDigitalState])
Bases:
Generic[nitypes.waveform.typing.TDigitalState],collections.abc.Sequence[nitypes.waveform.DigitalWaveformSignal[nitypes.waveform.typing.TDigitalState]]A collection of digital waveform signals.
To construct this object, use the
DigitalWaveform.signalsproperty.- Parameters:
owner (nitypes.waveform.DigitalWaveform[nitypes.waveform.typing.TDigitalState])
- __slots__ = ['_owner', '_signals', '__weakref__']
- __getitem__(index: int | str) nitypes.waveform.DigitalWaveformSignal[nitypes.waveform.typing.TDigitalState]
- __getitem__(index: slice) collections.abc.Sequence[nitypes.waveform.DigitalWaveformSignal[nitypes.waveform.typing.TDigitalState]]
Get self[index].
- __abc_tpflags__ = 32
- __iter__()
- __contains__(value)
- __reversed__()
- index(value, start=0, stop=None)
S.index(value, [start, [stop]]) -> integer – return first index of value. Raises ValueError if the value is not present.
Supporting start and stop arguments is optional, but recommended.
- count(value)
S.count(value) -> integer – return number of occurrences of value
- classmethod __subclasshook__(C)