Environment Settings Documentation
Microscope Control Software version 2.2.2.0
| Field | Type/Value | Description | Required | Default |
|---|---|---|---|---|
| Environment control | ||||
| ApplicationSettings | ||||
| DriverCO2Sensor | string | Driver for CO2 sensor, must be "GasSensorDriverSNC1". | Yes | |
| RequestCO2 | string | String to send to sensor to request CO2 concentration. Empty string means no concentration requests will be sent. | Yes | |
| RegExCO2 | string | Regular expression including capturing group names "CO2Conc" to extract CO2 concentration from sensor response. | Yes | |
| FactorCO2 | int | Factor to divide extracted "CO2Conc" to get CO2 concentration. | Yes | |
| COMCO2 | string | If not null override COM port automatic detection and use specified COM port for CO2 sensor. | No | null |
| DriverO2Sensor | string | Driver for O2 sensor, must be "GasSensorDriverSNO1". | Yes | |
| RequestO2 | string | String to send to sensor to request O2 concentration. Empty string means no concentration requests will be sent. | Yes | |
| RegExO2 | string | Regular expression including capturing group names "O2Conc" to extract O2 concentration from sensor response. | Yes | |
| FactorO2 | int | Factor to divide extracted "O2Conc" to get O2 concentration. | Yes | |
| COMO2 | string | If not null override COM port automatic detection and use specified COM port for O2 sensor. | No | null |
| DriverGasValveBlock | string | Driver for gas valve block, must be "GasValveBlockDriverGVB1" | Yes | |
| COMGasValveBlock | string | If not null override COM port automatic detection and use specified COM port for gas valve block. | No | null |
| Version | string | The version of the settings. | Yes | |
| GasSettings | Settings of the gas. | |||
| SetCO2 | double | The CO2 target concentration in percent. | Yes | |
| SetO2 | double | The O2 target concentration in percent. | Yes | |
| ControlCO2 | bool | Whether CO2 control is enabled. | Yes | |
| ControlO2 | bool | Whether O2 control is enabled. | Yes | |
| Version | string | The version of the settings. | Yes | |
| PID_EIntegrals<CO2/O2> | Settings to store the learned PID error integrals. | |||
| EIntegrals | dict (string => double) | Dictionary of learned PID error integrals. Key is a combination of CO2 and O2 set value. | Yes | |
| FlowExcessThreshold | double | The value in ml/min above which the flow is considered excessive. | No | 2 |
| Version | string | The version of the settings. | Yes | |
| PID_Settings<CO2/O2> | Settings for the PID controller. | |||
| FlowFull | double | Flow of gas in ml/min at 100% valve command. | Yes | |
| Kp | double | Proportional gain (Kp) of the PID controller. | Yes | |
| Ki | double | Integral gain (Ki) of the PID controller. | Yes | |
| Kd | double | Derivative gain (Kd) of the PID controller. | Yes | |
| IntegrationThresholdMin | double | Minimum current gas concentration to start counting down integration delay. | Yes | |
| IntegrationThresholdMax | double | Maximum current gas concentration to start counting down integration delay. | Yes | |
| IntegrationDependentGasErrorThreshold | double | Maximum error of dependent gas concentration (CO2 is dependent on O2) before integration delay starts counting down. | Yes | |
| IntegrationDelay | int | Delay of error integration in seconds, starts counting down if thresholds in this settings file are met. | Yes | |