Added default for measurement mode
Updated doc string for last commit
Added new imports to 580
Refactored polarity and drive in K580
Fixed enum type check
Undid mode default in commit 5ea2c693