fluidlab.objects.boards¶
Data Acquisition boards (fluidlab.objects.boards
)¶
Provides two small classes, ObjectUsingBoard
and the modules:
National Instrument board (fluidlab.objects.boards.nidaqnx) |
Remark: Can not import the module
fluidlab.objects.boards.powerdaq
in Linux… So no doc!
The classes for data acquisition boards should be obtained from this
package. If the boards are not available, no error are raised and the
classes are replaced by the class
fluidlab.objects.boards.FalseBoard
.
For example, with a computer without PowerDAQ board:
from fluidlab.objects.boards import PowerDAQBoard
board = PowerDAQBoard() # no error
assert(board.works == False) # no error
assert(not board) # no error
board.ain.configure(sample_rate=100)
# AttributeError: You tried to use a false acquisition board.
Classes
Represent a false acquisition board. |
|
|
Useful to write classes for objects using a board. |
|
alias of |