2024-11-22T15:47:56.898003+01:00 Error while creating dock for device 'Camera':
AttributeError: 'MicroManagerCamera' object has no
attribute '_allParams'
File C:\Users\pineaulo\.conda\envs\acq4\lib\runpy.py,
line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File C:\Users\pineaulo\.conda\envs\acq4\lib\runpy.py,
line 87, in _run_code
exec(code, run_globals)
File U:\acq4\acq4\__main__.py,
line 106, in <module>
man = Manager(argv=sys.argv[1:])
File U:\acq4\acq4\Manager.py,
line 173, in __init__
self.showGUI()
File U:\acq4\acq4\Manager.py,
line 670, in showGUI
self.gui = self.loadModule('Manager', 'Manager',
{})
File U:\acq4\acq4\Manager.py,
line 521, in loadModule
mod = modclass(self, name, config)
File U:\acq4\acq4\modules\Manager\Manager.py,
line 30, in __init__
self.addDeviceDocks()
File U:\acq4\acq4\modules\Manager\Manager.py,
line 72, in addDeviceDocks
printExc("Error while creating dock for
device '%s':" % d)
File U:\acq4\acq4\util\debug.py,
line 47, in printExc
acq4.Manager.logExc(msg=msg, msgType=msgType)
------- exception caught ---------->
File U:\acq4\acq4\modules\Manager\Manager.py,
line 59, in addDeviceDocks
dock = self.createDockForDevice(d)
File U:\acq4\acq4\modules\Manager\Manager.py,
line 75, in createDockForDevice
dw =
self.manager.getDevice(deviceName).deviceInterface(self)
File U:\acq4\acq4\devices\Camera\Camera.py,
line 356, in deviceInterface
return CameraDeviceGui(self, win)
File U:\acq4\acq4\devices\Camera\deviceGUI.py,
line 20, in __init__
self.params = self.dev.listParams()
File U:\acq4\acq4\devices\MicroManagerCamera\mmcamera.py,
line 261, in listParams
return self._allParams.copy()
2024-11-22T15:47:56.984552+01:00 Unexpected error:
AttributeError: 'MicroManagerCamera' object has no
attribute '_allParams'
File U:\acq4\acq4\modules\Manager\Manager.py,
line 59, in addDeviceDocks
dock = self.createDockForDevice(d)
File U:\acq4\acq4\modules\Manager\Manager.py,
line 75, in createDockForDevice
dw =
self.manager.getDevice(deviceName).deviceInterface(self)
File U:\acq4\acq4\devices\Camera\Camera.py,
line 356, in deviceInterface
return CameraDeviceGui(self, win)
File U:\acq4\acq4\devices\Camera\deviceGUI.py,
line 20, in __init__
self.params = self.dev.listParams()
File U:\acq4\acq4\devices\MicroManagerCamera\mmcamera.py,
line 261, in listParams
return self._allParams.copy()
The camera works nice in micromanager (I used micromanager 4.19 to test it).
Thanks in advance for your help !
2024-11-29T12:08:59.554129+01:00 Unexpected error:
AttributeError: 'SimpleParameter' object has no
attribute 'hasValue'
File U:\acq4\acq4\devices\Camera\deviceGUI.py,
line 70, in stateChanged
vals[param.name()] = param.value() if
param.hasValue() else None
The camera module still doesn't work properly though. Interestingly, when I use the taskrunner to test the camera, it works (I get an image of my recording chamber). However, when I start the camera module after selecting the camera, I get a black image. I tried to manually change the gain, I still wasn't able to get an something.
I also tried to change the parameters of the camera starting with the exposure time, I ended up with this error:
--
You received this message because you are subscribed to the Google Groups "ACQ4" group.
To unsubscribe from this group and stop receiving emails from it, send an email to acq4+uns...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/acq4/2bc703e3-f7b5-41da-97dd-51209a84f426n%40googlegroups.com.
Sorry, no I mean you should get rid of the line in your config that specifies the address. I think your setup will probably work if you use the defaults for the library rather than specifying explicitly.
Sensapex doesn't actually have a python developer on staff, so it's more likely that I will be the one who fixes that library.
To view this discussion visit https://groups.google.com/d/msgid/acq4/9b56eb12-abcd-4b78-afdc-c088bbef6042n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/acq4/3baac5e4-e950-4926-9fac-96eef801280fn%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/acq4/ba8c8922-3f74-4f08-a174-5f34f3bfcb85n%40googlegroups.com.