fluidlab.instruments.drivers

Instrument drivers (fluidlab.instruments.drivers)

Todo

Verify potential bug due to the fact that values are class attributes.

Provides:

class fluidlab.instruments.drivers.Driver(interface=None)[source]

Bases: object

Instrument driver (base class).

Parameters:

interface : fluidlab.instruments.interface.Interface

The interface used to communicate with the instrument.

set(name, *args, **kargs)[source]

Set a value.

get(name, *args, **kargs)[source]

Get a value.

class fluidlab.instruments.drivers.VISADriver(interface=None, backend='@py')[source]

Bases: fluidlab.instruments.drivers.Driver

A VISA driver.

Parameters:

interface : {str or interface}

A VISA interface or a string defining a VISA interface.

backend : str

Defines the backend used by pyvisa (“@py”, “@ni”, “@sim”…)

Classes

Driver([interface]) Instrument driver (base class).
VISADriver([interface, backend]) A VISA driver.