Skip to content
Snippets Groups Projects
Commit 4b009c5a authored by Thomas Juerges's avatar Thomas Juerges
Browse files

Set default values for all attributes

parent 2fbfe02d
No related branches found
No related tags found
No related merge requests found
......@@ -174,10 +174,18 @@ class StatsCrosslet(Device):
self.obj = self.client.get_root_node().get_child(["0:Objects", "{}:StationMetrics".format(ns), "{}:RCU".format(ns)])
self.record_cross = "{}:record_cross".format(ns)
self.debug_stream("Connecting to OPC-UA server %s:%d done.", self.OPC_Server_Name, self.OPC_Server_Port)
# Set default values in the read/write attributes.
self._pause_time = self.Default_pause_time
self._integration_time = self.Default_integration_time
# self._subband = 0
self._subband = self.Default_subband
# self._integration_time = 0.0
self._integration_time = self.Default_integration_time
self._time_stamp = ''
# self._pause_time = 0.0
self._pause_time = self.Default_pause_time
self._rcu_modes = ('',)
self._visibilities_imag = ((0.0,),)
self._visibilities_real = ((0.0,),)
self.data_read_loop = threading.Thread(target = self.read_data)
self.data_acquisition_is_active = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment