Update
My instrument writeProperty and readProperty are modified to handle 'all' option (which readProperty did not have). write_flag and read_flag are introduced back for convenience