The callback function serves to notify the stimulator object of wheather or not the stimulator has been detached or reattached to the Host PC.