Structural-Color-AE-NCSA / DevicesManager

0 stars 0 forks source link

[PCP3] python script to get physic devices connecting status. #22

Closed bingzhang closed 4 weeks ago

bingzhang commented 5 months ago

under scripts folder, reuse nullTool, ultimusExtruder, lulzbotTaz6_BP classes code from PCP3.

when the adaptor receive the status commands. the adaptor will create an instance of those devices and call the activate() to check the return boolean value. If the return boolean value is true, then the device is connecting, otherwise disconnected.

Maybe need to call the deactivate() after the activate() each device.

bingzhang commented 4 weeks ago

I changed code to fix the bug. it can get the real device status.