Driver Level

The library comes with a support for rs232 (slow) and bulk USB(recommended) interfaces. It also has a mock driver that allows testing and debugging of the software.

To import the driver for the DI-4108. This library has to be tested manually to insure that all communication with the device is working well. To test the rest of the code, please use the mock driver.

from icarus_nmr.driver_usb_bulk_di_4108 import Driver
driver = Driver()
class icarus_nmr.driver_usb_bulk_di_4108.Driver[source]
discover()[source]

the function allows to discover DI-4108 device. returns: flag if a device(devices) are found. assigns: self.available_ports list entry [0] - COM port namer pvproperty(value=2.0)[1] - serial number

flush()[source]

backcompetability with serial communication