AlicatMC#

Control the Alicat MC flow controller from Python through InstroFlowController.

Alicat MC

The AlicatMC provides a driver that can be used to instantiate an InstroFlowController.

Creating an InstroFlowController with AlicatMC#

from instro.unstable.flowcontroller.drivers import AlicatMC
from instro.unstable.flowcontroller import InstroFlowController
from instro.lib.transports import SerialConfig, TerminatorConfig, VisaConfig

fc = InstroFlowController(
    name="myFlowController",
    driver=AlicatMC(
        VisaConfig(
            visa_resource="<visa_resource>",
            serial_config=SerialConfig(baud_rate=19200),
            terminator=TerminatorConfig(read="\r", write="\r"),
        ),
        device_id="M",
    ),
)

Parameters and methods specific to AlicatMC can be found in the Reference.