To start things off, I’m quite new to the ZeroMQ Library.
And I’ve been trying to wrap my head around how to fetch data from the GRID 4 API.
I know how to send data to set certain parameters such as sessionName and DownloadPath.
And I’ve figured out how to get data from the cameras, which is from the smartshooter module.
ctx = smartshooter.Context() cameras = ctx.get_camera_list() for cam in cameras: ev = ctx.get_camera_info(cam) val = ev["CameraPropertyInfo"]["FocusMode"]["CameraPropertyValue"]
But how do I fetch sessionName and DownloadPath from GRID 4, or properties that are not related to cameras?
Can’t seem to find anything in the documentation. Unless I subscribe to an event. But for that to work I need something to trigger the event to be able to get the data.
Thank you in advance,