The mks_g_series module

Autogenerated API documentation for mks_g_series

Driver for MKS g-series flow controller

class PyExpLabSys.drivers.mks_g_series.MksGSeries(port='/dev/ttyUSB0')[source]

Driver for G-series flow controllers from MKS

__init__(port='/dev/ttyUSB0')[source]
checksum(command)[source]

Calculate checksum of command

comm(command, addr)[source]

Implements communication protocol

read_full_scale_range(addr)[source]

Read back the current full scale range from the instrument

read_device_address(address=254)[source]

Read the device address

set_device_address(old_addr, new_addr)[source]

Set the device address

read_current_gas_type(addr)[source]

Read the current default gas type

read_run_hours(addr)[source]

Return number of running hours of mfc

read_setpoint(addr)[source]

Read current setpoint

set_flow(value, addr=254)[source]

Set the flow setpoint

purge(t=1, addr=254)[source]

purge for t seconds, default is 1 second

read_flow(addr=254)[source]

Read the flow

read_serial_number(addr=254)[source]

Read the serial number of the device