Hi all,
Thank you for your suggestions.
I am trying to find where the problem comes from and this is what I learned
thus far:
the command the list almost all properties available is
mmc.getDevicePropertyNames('Camera') which can be found in the MMCorePy.py.
also helpful are the commands mmc.getProperty, and
mmc.getAllowedPropertyValues
I tried changing various triggering properties
'TRIGGER ACTIVE' from 'EDGE' to 'SYNCREADOUT' or 'LEVEL'.
'TRIGGER EXPOSURE'
'ScanMode'
When I switch the TRIGGER SOURCE to EXTERNAL, the snapImage() is stuck until
timout (probably 10s of seconds and I get the error : Error in device
"Camera": Unknown error in the device (1). While when I switch the TRIGGER
to INTERNAL, the snapImage() works perfectly. Under EXTERNAL mode, when I
run the snapImage() command I see the status light of the camera turning
Orange (indicating data transfer is underway) and the status light keeps
orange even when the device returns an error, only when I switch trigger
source back to internal, the status light returns to green. However, note
that when the status light is 'stuck' on orange, the query deviceBusy
returns False.
so it seems to me that the snapImage function is waiting for the trigger and
it is not getting it?! So I tried to change the trigger timing, width,
voltage, etc. but nothing.
Might be there be any properties set that are conflicting and makes this
behavior? or is the camera somehow not getting the trigger signal right? or
is there another command that tells the camera to 'start' getting the
trigger?
Thank you,
I will keep trying and update and awaiting your advise.