fluidlab.interfaces.usbtmc_inter

Interface with Linux USBTMC (fluidlab.interface.usbtmc_inter)

This interface provides basic interface with USBTMC device. It uses the linux devices at /dev/usbtmc[0-9], and thus makes use of the usbtmc linux kernel support. This is different from other modules, like python-usbtmc or pyvisa-py, which disable the kernel usbtmc support and address the device directly.

This module is much simpler and merely rely on os.open and ioctl.

Note: on some instruments, the USB port is actually a USB-serial converter. In that case, use SerialInterface, not LinuxUSBTMCInterface.

Provides:

class fluidlab.interfaces.usbtmc_inter.USBTMCInterface(device=0, **kwargs)[source]

Classes

USBTMCInterface([device])