I know the deviceStartComm(self,dev) method works because if I reload the Plugin, it gets executed for each device that has been created by my Plugin.
For deviceStopComm(self,dev) the help documentation says:
This is the complementary method to deviceStartComm() - it gets called when the device should no longer be active/enabled. For instance, when the user disables or deletes a device, this method gets called.
I can confirm that this method is called when the device is deleted but not when it is disabled (which I assume means Comm Disabled?).
Any pointers and suggestions appreciated