forked from M-Labs/artiq
1
0
Fork 0

pxi6733: clean up docstring

This commit is contained in:
Sebastien Bourdeauducq 2015-07-05 18:43:32 +02:00
parent 19442efdae
commit 2eeaa3b9be
1 changed files with 4 additions and 3 deletions

View File

@ -25,11 +25,11 @@ class DAQmx:
def __init__(self, channels, clock): def __init__(self, channels, clock):
""" """
:param channels: List of channels as a string or bytes(), following :param channels: List of channels as a string, following
the physical channels lists and ranges NI-DAQmx syntax. the physical channels lists and ranges NI-DAQmx syntax.
Example: Dev1/ao0, Dev1/ao1:ao3 Example: Dev1/ao0, Dev1/ao1:ao3
:param clock: Clock source terminal as a string or bytes(), following :param clock: Clock source terminal as a string, following
NI-DAQmx terminal names syntax. NI-DAQmx terminal names syntax.
Example: PFI5 Example: PFI5
@ -80,7 +80,8 @@ class DAQmx:
not yet completed. not yet completed.
:param sampling_freq: The sampling frequency in samples per second. :param sampling_freq: The sampling frequency in samples per second.
:param values: A numpy array of sample values to load in the device. :param values: A numpy array of sample values (in volts) to load in
the device.
""" """
self.clear_pending_task() self.clear_pending_task()