fluidlab.instruments¶
Represent and communicate with instruments¶
We call “instruments” all devices that can be more or less directly plug to a computer. This packages provides instrument drivers and utilities to write them.
In FluidLab, the drivers have an attribute interface that contains
relatively low-level functions to communicate with the device. Some
base interface class are defined in the module
fluidlab.instruments.interfaces
.
The drivers have also attributes representing values that are saved or
can be set in or get from the instruments. Some of these “features”
are defined in fluidlab.instruments.features
.
For many instruments, the communication with the computer is made directly through simple messages understandable by humans. For these instruments, the communication can be done using VISA (Virtual Instrument Software Architecture), independently of how the communication is done in practice (e.g. with GPIB, RS232, USB, Ethernet).
A mechanism to easily write such drivers is implemented in:
Instrument drivers (fluidlab.instruments.drivers) |
|
Features for defining drivers (fluidlab.instruments.features) |
|
IEC60488 drivers (fluidlab.instruments.iec60488) |
Some drivers of particular “VISA instruments” are organized in the packages:
Oscilloscopes (fluidlab.instruments.scope) |
|
Function generators (fluidlab.instruments.funcgen) |
|
Power supply (fluidlab.instruments.powersupply) |
|
Multimeters (fluidlab.instruments.multimeter) |
|
Multiplexers (fluidlab.instruments.multiplexer) |
|
Sourcemeters (fluidlab.instruments.sourcemeter) |
|
Chilers (fluidlab.instruments.chiller) |
|
Pressure transducer (fluidlab.instruments.pressure_transducer) |