limatake error messages
limatake
need no more arg than time and img count
SESSION_DCM [238]: limatake(0.1, 10)
acquisition chain
└── lima_bv1
but error messages are not clear enough for users:
SESSION_DCM [226]: limatake(0.1, 10, lima_bv1)
!!! === RuntimeError: No active LIMA device in the current measurement group === !!!
SESSION_DCM [236]: limatake(0.1, 10, lima_bv1)
acquisition chain
└── lima_bv1
!!! === AttributeError: Can't pickle local object 'Counter.__init__.<locals>.<lambda>' === !!!
SESSION_DCM [237]: limatake(0.1, 10, prosilica_MG)
acquisition chain
└── lima_bv1
!!! === TypeError: can't pickle gevent._event.Event objects === !!!