Conversation
|
Hmm, I think the ASIImaging documentation for this functionality has been updated--possibly along with a firmware change also. As written we now have an enum value 1 used in 2 places, which doesn't make sense. MOVE_TO_NEXT_ABS_POSITION = 1
ENC_INT = 1Let's figure out why both of these are 1 before merging. This looks like a related issue to: #58 |
|
Ok, looking at this more closely, I think we want to have two different enum classes rather than try to fold overlapping options into one enum. Something like: class IN0_INT_TTLIn0Mode(Enum):
OFF = 0
MOVE_TO_NEXT_ABS_POSITION = 1
REPEAT_LAST_REL_MOVE = 2
# etc...
class ENC_INT_TTLIn0Mode(Enum):
ENC_INT = 1That's because the options are different depending on what firmware modules are available. (I'm referencing the scan_module wiki page.) It looks like |
Adding ENC_INT device code for TTL IN mode, has same X=1 value as MOVE_NEXT_ABS position https://asiimaging.com/docs/scan_module.