Hi, I am wondering if Aravis has (or is going to have) API to get the value of GenICam enumeration entry from displayName.
I realized that Aravis 0.8.30 has APIs to obtain all available values and displayName of enumeration entry of GenICam devices (arv_device_dup_available_enumeration_feature_values
, arv_device_dup_available_enumeration_feature_values_as_strings
, arv_device_dup_available_enumeration_feature_values_as_display_names
, and arv_device_is_enumeration_entry_available
), but what I would like to do is get 0x1100005 from “PixelFormat” and “Mono12”.
<Enumeration Name="PixelFormat" NameSpace="Standard">
<ToolTip>Format of the pixels provided by the device.</ToolTip>
<Description>Format of the pixels provided by the device. It represents all the information provided by PixelSize, PixelColorFilter combined in a single feature.</Description>
<DisplayName>Pixel Format</DisplayName>
<Visibility>Beginner</Visibility>
<ImposedAccessMode>RW</ImposedAccessMode>
<EnumEntry Name="Mono12" NameSpace="Standard">
<ToolTip>Monochrome 12-bit unpacked</ToolTip>
<Description>Monochrome 12-bit unpacked</Description>
<DisplayName>Mono12</DisplayName>
<Value>0x1100005</Value>
</EnumEntry>
...
<pValue>MSRM_PixelFormat</pValue>
</Enumeration>
If there’s no such API, I am planning to add this feature, but if I am just missing something, could you please tell me?