Index: leahi_dialin/dd/modules/balancing_chamber.py =================================================================== diff -u -r20c821bd230fc7689a0275a2918981669ff5cc19 -r039d9f5987f79862f10c026e6ca103d8139be1fa --- leahi_dialin/dd/modules/balancing_chamber.py (.../balancing_chamber.py) (revision 20c821bd230fc7689a0275a2918981669ff5cc19) +++ leahi_dialin/dd/modules/balancing_chamber.py (.../balancing_chamber.py) (revision 039d9f5987f79862f10c026e6ca103d8139be1fa) @@ -55,6 +55,7 @@ self.current_bal_chamber_switching_counter = 0 #: The Balancing Chamber's switching counter self.is_pressure_stabilized_during_fill = 0 #: Is pressure stabilized during fill or not self.bal_chamber_switch_only_state = 0 #: The Balancing Chamber's switch only state + self.is_bal_chamber_switching_active = 0 #: Is Balancing Chamber Switching Active self.dd_bal_chamber_timestamp = 0 #: The timestamp of the last message @@ -64,7 +65,7 @@ "switching_period", "bal_chamber_fill_in_progress", "current_bal_chamber_switching_counter", "is_pressure_stabilized_during_fill", "bal_chamber_switch_only_state", - "dd_bal_chamber_timestamp"]) + "is_bal_chamber_switching_active", "dd_bal_chamber_timestamp"]) def _handler_balancing_chamber_sync(self, message, timestamp=0.0): """ Handles published balancing chamber data messages. @@ -88,6 +89,8 @@ message['message'][MsgFieldPositions.START_POS_FIELD_7:MsgFieldPositions.END_POS_FIELD_7]))[0] self.bal_chamber_switch_only_state = struct.unpack('I', bytearray( message['message'][MsgFieldPositions.START_POS_FIELD_8:MsgFieldPositions.END_POS_FIELD_8]))[0] + self.is_bal_chamber_switching_active = struct.unpack('I', bytearray( + message['message'][MsgFieldPositions.START_POS_FIELD_9:MsgFieldPositions.END_POS_FIELD_9]))[0] self.dd_bal_chamber_timestamp = timestamp