Skip to content

Commit a7b8f65

Browse files
committed
fix(API): Remove irrelevant resamp_rate property
This is only relevant to SignalsWaveform and will be re-added by ni#161. Fixes ni#121. BREAKING CHANGE: `session.signals` no longer has a `resamp_rate` property. This never worked anyways so it shouldn't impact anyone.
1 parent f87765f commit a7b8f65

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

nixnet/_session/signals.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,6 @@ def __repr__(self):
1919
def _create_item(self, handle, index, name):
2020
return Signal(handle, index, name)
2121

22-
@property
23-
def resamp_rate(self):
24-
# type: () -> float
25-
"""float: Rate used to resample frame data to/from signal data in waveforms.
26-
27-
The units are in Hertz (samples per second).
28-
"""
29-
return _props.get_session_resamp_rate(self._handle)
30-
31-
@resamp_rate.setter
32-
def resamp_rate(self, value):
33-
# type: (float) -> None
34-
_props.set_session_resamp_rate(self._handle, value)
35-
3622

3723
class SinglePointInSignals(Signals):
3824
"""Writeable signals in a session."""

0 commit comments

Comments
 (0)