Skip to content
Snippets Groups Projects
Commit 9249e144 authored by Daniele Dal Santo's avatar Daniele Dal Santo
Browse files

print -> logger.info

parent 16130fa8
No related branches found
No related tags found
1 merge request!40New Comwrapper is designed and implemented for the optoboard software
......@@ -98,7 +98,7 @@ class CommWrapper():
else:
self.ICHandler = ICNetioNextHandler(CommConfig["ICNetioNextHandler_config"]["interface"], CommConfig["ICNetioNextHandler_config"]["bus_dir"],
CommConfig["ICNetioNextHandler_config"]["tx_tag"] + 0x0000000000400000*int(self.flx_G), CommConfig["ICNetioNextHandler_config"]["rx_tag"] + 0x0000000000400000*int(self.flx_G) , False, self.lpgbt_v, self.lpgbt_master_addr)
print("TX: ",CommConfig["ICNetioNextHandler_config"]["tx_tag"] + 0x0000000000400000*int(self.flx_G),"RX:",CommConfig["ICNetioNextHandler_config"]["rx_tag"] + 0x0000000000400000*int(self.flx_G))
logger.info("TX: ",CommConfig["ICNetioNextHandler_config"]["tx_tag"] + 0x0000000000400000*int(self.flx_G),"RX:",CommConfig["ICNetioNextHandler_config"]["rx_tag"] + 0x0000000000400000*int(self.flx_G))
try:
self.ICHandler.connect()
except:
......
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