Skip to content
Snippets Groups Projects
Commit 4ec3d977 authored by Taya Snijder's avatar Taya Snijder
Browse files

added SDP fix

parent c49467ce
No related branches found
No related tags found
2 merge requests!32Resolve L2SS-216 "2021 05 17 branched from master sdp hotfix",!30Resolve #2021 "05 17 branched from master sdp hotfix"
...@@ -96,7 +96,7 @@ class SDP(hardware_device): ...@@ -96,7 +96,7 @@ class SDP(hardware_device):
fpga_firmware_version_R = attribute_wrapper(comms_annotation=["2:fpga_firmware_version_R"], datatype=numpy.str_, dims=(16,)) fpga_firmware_version_R = attribute_wrapper(comms_annotation=["2:fpga_firmware_version_R"], datatype=numpy.str_, dims=(16,))
fpga_hardware_version_R = attribute_wrapper(comms_annotation=["2:fpga_hardware_version_R"], datatype=numpy.str_, dims=(16,)) fpga_hardware_version_R = attribute_wrapper(comms_annotation=["2:fpga_hardware_version_R"], datatype=numpy.str_, dims=(16,))
tr_software_version_R = attribute_wrapper(comms_annotation=["2:tr_software_version_R"], datatype=numpy.str_) tr_software_version_R = attribute_wrapper(comms_annotation=["2:"], datatype=numpy.str_)
def always_executed_hook(self): def always_executed_hook(self):
...@@ -136,7 +136,10 @@ class SDP(hardware_device): ...@@ -136,7 +136,10 @@ class SDP(hardware_device):
# map an access helper class # map an access helper class
for i in self.attr_list(): for i in self.attr_list():
i.set_comm_client(self.OPCua_client) try:
i.set_comm_client(self.OPCua_client)
except:
self.debug_stream("error in getting SDP attribute: {} from client".format(i))
self.OPCua_client.start() self.OPCua_client.start()
......
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