I’m developing a custom overlay to display information from my Mip framework driver that provides custom metadata.
What’s the best way to get all related metadata devices related to the camera on the event NewImageViewerControlEvent, and then check if the metadata device is of a certain type that matches my driver?
Wow, I thought I tried GetRelated() but it returned null.. Apparently I didn’t try hard enough, thanks!
But I still wonder, is it possible to get the Guid from the MIPFrameworkDriver from the Metadata item? I want to verify that the Metadata item is the one from my driver.
You will get the metadata device via GetRelated() but information about the metadata device in the MIP configuration does not identify the device as
originating from your Driver Framework driver.
Using Configuration API I think you will be able to get the information you seek.
The parent for the Metadata item is the Hardware item, I think the properties here can identify the item as being based on your Driver Framework driver.