Get related metadata device from camera FQID/Item

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?

Please see this Link- https://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_item.html#ab9785a1dfa61a7f761abe1727198c80a&tree=tree_search.html?search=getrelate

Please see a method “GetRelated()” in the link.

Also please see this sample - Configuration Access -

https://doc.developer.milestonesys.com/html/index.html?base=samples/configaccess_sample.html&tree=tree_search.html?search=configaccessviasdk

When you start the sample and you select a camera then you can see Related item in details area.

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.

This screen capture was made using the Configuration API Client sample -

https://doc.developer.milestonesys.com/html/index.html?base=samples/configapiclient.html&tree=tree_2.html