Data type error in write_register method using Win OS
In Windows (64 bit), python integers seem to correspond to numpy.int32. For numpy.int64, the type check in the write_register method fails. Additional check for numpy.int64 fixes issue for me. This seems to be a Windows-only feature.