Dear Tango community,
I would like to use the data_ready_event for a camera image.
I want to push the event with
self.push_data_ready_event('camera_frame')
but I recieve the following error:
File "C:\DeviceServers\Kameras\AlliedVisionCamera.py", line 158, in _acquire_frame
self.push_data_ready_event('camera_frame')
Boost.Python.ArgumentError: Python argument types in
DeviceImpl.push_data_ready_event(AlliedVisionCamera, str)
did not match C++ signature:
push_data_ready_event(class Tango::DeviceImpl {lvalue} self, class boost::python::str {lvalue} attr_name, long c
The online documentation of PyTango says the push_data_ready_event method needs only the attribute name as input, so I don’t know what I did wrong.
How do I push data_ready_events properly?
Thanks,
Dominik
Edit: I use Tango 9.4.1, PyTango 9.4.1, Windows 10, POGO 9.8.0
Edit #2: If I give the counter aswell, I get a different error:
File "C:\DeviceServers\Kameras\AlliedVisionCamera.py", line 158, in _acquire_frame
self.push_data_ready_event('camera_frame', 2)
PyTango.DevFailed: DevFailed[
DevError[
desc = Not able to acquire serialization (dev, class or process) monitor
origin = void __cdecl Tango::TangoMonitor::get_monitor(void) at (D:\bld\cpptango_1678646605551\work\cppapi\include\tango/server/tango_monitor.h:141)
reason = API_CommandTimedOut
severity = ERR]
]