1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-09-01 17:41:54 +01:00

instrument: Add sample_rate_hz attribute for CONTINUOUS instruments

This commit is contained in:
Brendan Jackman
2017-04-26 15:07:05 +01:00
parent f7d1b0fb13
commit 49b547a7f6
5 changed files with 10 additions and 0 deletions

View File

@@ -146,6 +146,12 @@ Instrument
.. note:: This method is only implemented by :class:`Instrument`\ s that
support ``CONTINUOUS`` measurment.
.. attribute:: Instrument.sample_rate_hz
Sample rate of the instrument in Hz. Assumed to be the same for all channels.
.. note:: This attribute is only provided by :class:`Instrument`\ s that
support ``CONTINUOUS`` measurment.
Instrument Channel
~~~~~~~~~~~~~~~~~~