| Customize Help
| Save Settings

MbufInquireFeature



Function Map
Synopsis
Inquires a feature of the buffer.
Syntax
void MbufInquireFeature(
MIL_ID BufId, //in
MIL_INT64 InquireType, //in
MIL_CONST_TEXT_PTR FeatureName, //in
MIL_INT64 UserVarType, //in
void *UserVarPtr //out
)
Description

This function allows you to directly inquire various GenICam GenTL standard feature naming convention (SFNC) features and buffer-specific features. When used with a GenICam GenTL SFNC-compliant camera, it allows you to directly inquire various buffer-specific features specified with the GenTL buffer description file (XML). Note that for the purpose of this function, a feature can also be of type category or command. Although category and command features lack a feature value, all other attributes of the feature can be inquired. For a list of standard category feature names, see the GenICam GenTL Standard Feature Naming Convention or your GenTL-compliant camera's documentation.

The features described in this function are primarily available to check existing settings using MIL code or to retrieve information from which you can build your own interface for the GenTL buffer's description file (XML). MIL provides two versions of an interface that you can use to interactively inquire the camera's features. At design-time, you can use Matrox Intellicam's Feature Browser. At runtime, you can launch Matrox Feature Browser, using MbufControl() with M_GC_FEATURE_BROWSER. Both versions of Matrox Feature Browser provide a list of available feature names and associated possible values, as well as code snippets with the MIL functions and MIL constants associated with the settings selected; you can copy the code snippets to your MIL application code.

Occasionally, the returned information is a string whose length can change between when you inquires its size and when you inquire its value (for example, the temperature can change from 99 to 100 between calls). In this case, when you inquire the information's length to allocate an array of an appropriate size, you might allocate an array that is too small to retrieve the data and experience an application crash. To avoid an application crash, specify the length of the array passed to the UserVarPtr parameter using the M_FEATURE_USER_ARRAY_SIZE() macro; the data will be truncated to fit in the array and an error will be generated.

To control a buffer-specific feature, use MbufControlFeature().

Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see which MIL system’s documentation you should use in its place and any possible differences.
Parameters
This function is not supported on the selected boards.
This function reference has not been updated for the selected MIL system. To show the content of this page, choose a second MIL system; refer to the MIL system's release note to see which MIL system’s documentation to choose and any possible differences.
Parameters
BufId

Specifies the identifier of the buffer to inquire. This parameter must be given a valid buffer identifier, previously allocated using MbufAlloc...().

InquireType

Specifies the data type of the variable in which to return the requested information (pointed to by the UserVarPtr parameter).

See the Parameter associations section for possible values that can be specified.

FeatureName

Specifies the name of the buffer feature to inquire. Note that this parameter expects a case-sensitive string.

function map For specifying the name of the feature
Click to summarizeValue Description MIL system-specific
tooltip (‡)
Click to summarize MIL_TEXT("FeatureName") 1

Specifies the name of the feature. Note that the feature name is case-sensitive.

Refer to your GenTL library's documentation for a list of the features available.

(summarize)
v
Click to summarize MIL_TEXT("Root") 1

Specifies to inquire the highest-level feature of the XML structure; this feature is of type category and typically, its subfeatures are also of type category. Note that this value is only available when using M_SUBFEATURE_....

(summarize)
v

1 If you are passing the value in a variable, don't enclose it in MIL_TEXT().

UserVarType

Specifies the data type of the address pointed to by the UserVarPtr parameter. If not inquiring the feature's value (using M_FEATURE_VALUE), set this parameter to M_DEFAULT.

Note that, in the case of a string (or a multi-byte register), the size of the array passed to the UserVarPtr parameter must be equal to or larger than the returned information; otherwise an application crash will occur.

function map For specifying the UserVarPtr's data type
Click to summarizeValue Description MIL system-specific
tooltip (‡)
Click to summarize M_TYPE_BOOLEAN

Specifies that UserVarPtr is passed an address of type MIL_BOOL.

v
Click to summarize M_TYPE_DOUBLE

Specifies that UserVarPtr is passed an address of type MIL_DOUBLE.

v
Click to summarize M_TYPE_INT64

Specifies that UserVarPtr is passed an address of type MIL_DOUBLE.

v
Click to summarize M_TYPE_STRING +

Specifies that UserVarPtr is passed an address of type MIL_TEXT_CHAR.


You must specify a combination value from the following table:
(summarize)
v
Click to summarize M_TYPE_UINT8 +

Specifies that UserVarPtr is passed an address of type MIL_UINT8.


You must specify a combination value from the following table:
(summarize)
v
Combination value for M_TYPE_STRING; M_TYPE_UINT8.

You must add the following value to the above-mentioned values to specify the length of the array.

function map For specifying the length of the array
Click to summarizeCombination value Description MIL system-specific
tooltip (‡)
Click to summarize

Specifies the length of the array.

(summarize)
v
Parameters

Sets the length, in bytes.

UserVarPtr
Accepts the address of one of the following (see the Parameter associations section for specifics on which is expected):
  • array of type MIL_TEXT_CHAR [optionally, in C++: a reference to a MIL_STRING]
  • array of type MIL_UINT8 [optionally, in C++: a reference to a std::vector<MIL_UINT8> ]
  • MIL_BOOL
  • MIL_DOUBLE
  • MIL_INT
  • MIL_INT64

Specifies the address of the variable in which to return the requested information.

See the Parameter associations section for possible values that can be returned.

The following inquire types are used to specify the type of information about the feature to inquire and the data type returned.

function map For specifying the type of information to inquire about the feature and the data type returned
Click to summarize
InquireType
Description MIL system-specific
tooltip (‡)
UserVarPtr
- Possible values returned
Click to summarize M_FEATURE_ACCESS_MODE

Inquires whether the specified feature is implemented, available, readable, and/or writable.

Note that an error is generated if the feature does not exist in the camera's device description file (XML). To learn if the specified feature exists in the file and is implemented on your camera, use M_FEATURE_PRESENT.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_INT64
v
Click to summarize Bit-encoded access mode value

Specifies a bit-encoded value that details the access mode. To establish the access mode from the encoded value, use the following macros:

  • To learn whether the specified feature is available, use the M_FEATURE_IS_AVAILABLE macro. Note that if a feature is not available, use M_FEATURE_IS_IMPLEMENTED to learn whether the specified feature is only temporarily unavailable or actually not implemented on your camera. A feature that is temporarily unavailable typically relies on the setting of another feature (for example, when a trigger feature is set to off, its associated trigger polarity feature would be unavailable).

  • To learn whether the specified feature is implemented, use the M_FEATURE_IS_IMPLEMENTED macro.

    For example, a Bayer color feature would not be implemented on a monochrome camera because the hardware cannot support it.

  • To learn whether the specified feature can be read, use the M_FEATURE_IS_READABLE macro.

  • To learn whether the specified feature can be written to, use the M_FEATURE_IS_WRITABLE macro.

(summarize)
v
Click to summarize M_FEATURE_CACHING_MODE

Inquires whether a copy of the specified feature's value is stored in Host memory for faster access and retrieval. If so, the feature is known as a cachable feature. A cachable feature is typically only retrieved from the camera whenever the cache is invalidated (such as, before the first read and before the first read to occur after a write operation). A cachable feature is typically a value that only changes based on user-interaction (setting a control value). For example, a temperature feature is not cachable.

To return a true/false value for this inquire, use the M_FEATURE_IS_CACHABLE macro on the returned result.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_INT64
v
Click to summarize M_FEATURE_CACHING_MODE_NONE

Specifies that the feature is not cachable.

v
Click to summarize M_FEATURE_CACHING_MODE_WRITE_AROUND

Specifies that feature's values are written only to the camera, and the cache is updated the next time the feature's value is inquired.

v
Click to summarize M_FEATURE_CACHING_MODE_WRITE_THROUGH

Specifies that when information is written to the camera, the cache is updated simultaneously.

v
Click to summarize M_FEATURE_CHANGE_HOOK

Inquires whether an event occurs when the value of a feature changes. If enabled, MbufHookFunction() with M_FEATURE_CHANGE hooks a specified function to the feature change event.

To retrieve the name of the feature that caused the event, use MbufGetHookInfo() with M_GC_FEATURE_CHANGE_NAME within the hook function.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_INT
v
Click to summarize M_DISABLE

Specifies that no event is generated when the value of the specified feature changes.

This is the default value.

(summarize)
v
Click to summarize M_ENABLE

Specifies that an event is generated when the value of the specified feature changes.

v
Click to summarize M_FEATURE_DEPRECATED

Inquires whether the specified feature is deprecated and should no longer be used.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_INT64
v
Click to summarize M_FALSE

Specifies that the feature is not depreciated.

v
Click to summarize M_TRUE

Specifies that the feature is depreciated.

v
Click to summarize M_FEATURE_DESCRIPTION +

Inquires the description of the specified feature.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_TEXT_CHAR [optionally, in C++: MIL_STRING ] MORE
v
Click to summarize Value

Specifies the description of the feature.

v
Click to summarize M_FEATURE_DISPLAY_NAME +

Inquires the specified feature's display name. Note that this can differ slightly from the internally-used feature name (M_FEATURE_NAME).

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_TEXT_CHAR [optionally, in C++: MIL_STRING ] MORE
v
Click to summarize Value

Specifies the display name of the feature.

v
Click to summarize M_FEATURE_EXECUTE_COMPLETED

Inquires whether the specified executable camera feature (command) has finished executing on your camera.

Note that to enable command execution-completion polling, set MsysControl() with M_GC_FEATURE_EXECUTE_POLLING_MODE to M_AUTOMATIC.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_BOOL
v
Click to summarize M_FALSE

Specifies that the executable camera feature has not finished executing.

v
Click to summarize M_TRUE

Specifies that the executable camera feature has finished executing.

v
Click to summarize M_FEATURE_INCREMENT

Inquires the value by which the feature's value increments. For example, if a feature's possible values are 2, 4, 6, ..., then the feature's value increments by 2.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_INT64
v
Click to summarize Value

Specifies the feature's incremental value.

v
Click to summarize M_FEATURE_MAX

Inquires the maximum possible value for the feature.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE  |  address of a MIL_INT64 MORE
v
Click to summarize Value

Specifies the maximum possible value for the feature.

v
Click to summarize M_FEATURE_MIN

Inquires the minimum possible value for the feature.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE  |  address of a MIL_INT64 MORE
v
Click to summarize Value

Specifies the maximum possible value for the feature.

v
Click to summarize M_FEATURE_NAME +

Inquires the specified internally-used feature name. Note that this can differ slightly from the displayed name of the feature (M_FEATURE_DISPLAY_NAME).

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_TEXT_CHAR [optionally, in C++: MIL_STRING ] MORE
v
Click to summarize Value

Specifies the feature's name.

v
Click to summarize M_FEATURE_POLLING_INTERVAL

Inquires the interval between inquiring an executable feature's completion status, when automatically polling (using MsysControl() with M_GC_FEATURE_EXECUTE_POLLING_MODE).

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_INT64
v
Click to summarize Value >= -1

Specifies the polling interval, in msecs.

v
Click to summarize M_FEATURE_PRESENT

Inquires whether the specified feature is present in the camera's device description file. Note that, if the feature is listed in the camera's device description file (XML), use M_FEATURE_ACCESS_MODE and the M_FEATURE_IS_IMPLEMENTED macro to determine if the feature is supported. If the feature is not present in the file, M_FEATURE_PRESENT will return M_NO, whereas M_FEATURE_ACCESS_MODE will generate an error.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_BOOL
v
Click to summarize M_NO

Specifies that the specified feature is not present.

v
Click to summarize M_YES

Specifies that the specified feature is present.

v
Click to summarize M_FEATURE_REPRESENTATION

Inquires the display format for the feature's value. The display format dictates the size of the field and its form (check box, slider, text-box, etc.) used in a user-interface for the GenTL buffer`s description file (XML), such as Matrox Feature Browser (accessible through Matrox Intellicam or MbufControl() with M_GC_FEATURE_BROWSER.

Note that this inquire type can only be used with a feature that has a data type of MIL_INT64 or MIL_DOUBLE.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_INT64
v
Click to summarize M_FEATURE_REPRESENTATION_BOOLEAN

Specifies that the feature should be displayed as a checkbox.

v
Click to summarize M_FEATURE_REPRESENTATION_HEX_NUMBER

Specifies that the feature should be displayed as a hexadecimal value.

v
Click to summarize M_FEATURE_REPRESENTATION_IPV4_ADDRESS

Specifies that the feature should be displayed as an IP address in dotted decimal notation.

v
Click to summarize M_FEATURE_REPRESENTATION_LINEAR

Specifies that the feature should be displayed as a slider with the appropriate range shown.

v
Click to summarize M_FEATURE_REPRESENTATION_LOGARITHMIC

Specifies that the feature should be displayed as a slider with the appropriate logarithmic range shown.

v
Click to summarize M_FEATURE_REPRESENTATION_MAC_ADDRESS

Specifies that the feature should be displayed as a hexadecimal MAC address.

v
Click to summarize M_FEATURE_REPRESENTATION_PURE_NUMBER

Specifies that the feature should be displayed as edit text-box with a decimal display.

v
Click to summarize M_FEATURE_SELECTOR_COUNT

Inquires the number of selectors that are ancestors of the feature.

Selectors take an enumerator or integer to index which instance of a subfeature should be accessed, when multiple instances of a subfeature exist. For example, the GenICam standard TriggerSelector feature is used to select which type of trigger to configure ( for example, FrameStart and AcquisitionStart are both enumerators that can be passed to TriggerSelector). All subfeatures of the selector (such as its source) are referenced from the trigger selector (TriggerSource[AcquisitionStart]).

This inquire type only returns a value greater than 0 if the feature is a subfeature of a selector. It returns 1 if the feature is a subfeature of a selector. It returns 2 if its selector is also referenced by another selector. The M_FEATURE_SELECTOR_COUNT for TriggerMode, in this example, would be 1.

To inquires the name of the selector associated with the specified feature, use M_FEATURE_SELECTOR_NAME + n.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_INT
v
Click to summarize Value

Specifies the number of ancestor selectors of the feature.

v
Click to summarize M_FEATURE_SELECTOR_NAME + n +

Inquires the name of the ancestor selector of the specified subfeature, where n is the number of generations. So, if inquiring the feature selector name of the 1st selector of TriggerSource, the returned name would be TriggerSelector.

To inquires the number of selectors that are associated with the specified feature, use M_FEATURE_SELECTOR_COUNT.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_TEXT_CHAR [optionally, in C++: MIL_STRING ] MORE
v
Click to summarize Value

Specifies the name associated with the selector index.

v
Click to summarize M_FEATURE_SIZE

Inquires the size of the feature's value.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_INT
v
Click to summarize Value

Specifies the feature's size, in bytes.

v
Click to summarize M_FEATURE_STREAMABLE

Inquires whether the specified feature is streamable. A streamable feature can be stored in the local camera's description file (an XML file stored on your computer). Streamable features are typically not persistent values (such as pixel format and image size). In most cases, a streamable feature is capable of being saved and loaded from file at a later date, possibly on a different camera.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_INT64
v
Click to summarize M_FALSE

Specifies that the feature is not streamable.

v
Click to summarize M_TRUE

Specifies that the feature is streamable.

v
Click to summarize M_FEATURE_TOOLTIP +

Inquires the tooltip of the specified feature.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_TEXT_CHAR [optionally, in C++: MIL_STRING ] MORE
v
Click to summarize Value

Specifies the feature's tooltip.

v
Click to summarize M_FEATURE_TYPE

Inquires the specified feature's type.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_INT64
v
Click to summarize M_TYPE_BOOLEAN

Specifies that the feature's value is a boolean.

v
Click to summarize M_TYPE_CATEGORY

Specifies that the feature is a category feature, and its value cannot be inquired.

v
Click to summarize M_TYPE_COMMAND

Specifies that the feature is a command and its value cannot be inquired.

v
Click to summarize M_TYPE_DOUBLE

Specifies that the feature's value is a floating-point.

v
Click to summarize M_TYPE_ENUMERATION

Specifies that the feature's value is an enumeration.

v
Click to summarize M_TYPE_INT64

Specifies that the feature's value is a 64-bit integer.

v
Click to summarize M_TYPE_REGISTER

Specifies that the feature's value is mapped to a multi-byte register.

v
Click to summarize M_TYPE_STRING

Specifies that the feature's value is a string.

v
Click to summarize M_FEATURE_VALUE +

Inquires the current value of the feature.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_BOOL  |  address of a MIL_DOUBLE  |  address of a MIL_INT64  |  array of type MIL_UINT8 [optionally, in C++: a reference to a std::vector<MIL_UINT8> ]  |  array of type MIL_TEXT_CHAR [optionally, in C++: MIL_STRING ] MORE
v
Click to summarize Value

Specifies the feature's value.

v
Click to summarize M_FEATURE_VISIBILITY

Inquires the visibility level of the specified feature. The visibility level indicates the level of expertise required to view or select the feature.

When creating a custom user interface for the camera's device description file (XML), the visibility level of the specified feature can be used to potentially hide the specified feature. The current level of visibility should be set within your custom user-interface, and the enumeration entry for the visibility level of the specified feature must be compared against it. If the specified enumeration entry has a level of visibility higher than the current level of visibility, it is hidden.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_INT64
v
Click to summarize M_FEATURE_VISIBILITY_BEGINNER

Specifies that the feature is suggested for beginners.

v
Click to summarize M_FEATURE_VISIBILITY_EXPERT

Specifies that the feature is suggested for experts.

v
Click to summarize M_FEATURE_VISIBILITY_GURU

Specifies that the feature is suggested for advanced experts.

v
Click to summarize M_FEATURE_VISIBILITY_INVISIBLE

Specifies that the feature should not be shown in the user-interface for the camera's device description file (XML). Note that an invisible feature can still be set or inquired using MbufControlFeature() and MbufInquireFeature(), respectively.

(summarize)
v

When the specified feature is of type enumeration, you can use one of the following to inquire about the specified enumeration entry in the supported enumeration list of the feature. When the information pertains to a specific enumeration entry (for example, M_FEATURE_ENUM_ENTRY_ACCESS_MODE + n), the value is described in relation to its position in the enumerated list, where n is the index into the enumerated list.

Note that these values can only be used when the feature type to inquire is an enumeration.

function map For inquiring about the enumeration entry of a feature's value
Click to summarize
InquireType
Description MIL system-specific
tooltip (‡)
UserVarPtr
- Possible values returned
Click to summarize M_FEATURE_ENUM_ENTRY_ACCESS_MODE + n

Inquires whether the specified enumeration entry is implemented, available, readable, and/or writable, where n is the index into the enumerated list.

Note that an error is generated if the enumeration entry does not exist in the camera's device description file (XML). To learn if the specified enumeration entry exists in the file and is implemented on your camera, use the M_FEATURE_IS_IMPLEMENTED macro.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_INT64
v
Click to summarize Bit-encoded access mode value

Specifies a bit-encoded value that details the access mode. To establish the access mode from the encoded value, use the following macros:

  • To learn whether the specified enumeration entry is available, use the M_FEATURE_IS_AVAILABLE macro. Note that if an enumeration entry is not available, use M_FEATURE_IS_IMPLEMENTED to learn whether the specified enumeration entry is only temporarily unavailable or actually not implemented on your camera. An enumeration entry that is temporarily unavailable typically relies on the setting of another feature or enumeration entry.

  • To learn whether the specified enumeration entry is implemented, use the M_FEATURE_IS_IMPLEMENTED macro.

  • To learn whether the specified enumeration entry can be read, use the M_FEATURE_IS_READABLE macro.

(summarize)
v
Click to summarize M_FEATURE_ENUM_ENTRY_COUNT

Inquires the total number of enumeration entries in the supported enumerated list of the feature. Note that this inquire type can only be used when the feature to inquire is of type enumeration.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_INT
v
Click to summarize Value

Specifies the total number of enumeration entries.

v
Click to summarize M_FEATURE_ENUM_ENTRY_DESCRIPTION + n +

Inquires the description of the specified enumeration entry, where n is the index into the enumerated list. Note that this inquire type can only be used when the feature type to inquire is an enumeration.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_TEXT_CHAR [optionally, in C++: MIL_STRING ] MORE
v
Click to summarize Value

Specifies the enumeration entry's description.

v
Click to summarize M_FEATURE_ENUM_ENTRY_DISPLAY_NAME + n +

Inquires the display name of the specified enumeration entry, where n is the index into the enumerated list. Note that this can differ slightly from the internally-used name of the entry (M_FEATURE_ENUM_ENTRY_NAME + n).

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_TEXT_CHAR [optionally, in C++: MIL_STRING ] MORE
v
Click to summarize Value

Specifies the enumeration entry's display name.

v
Click to summarize M_FEATURE_ENUM_ENTRY_NAME + n +

Inquires the internally-used name of the specified enumeration entry of the feature, where n is the index into the enumerated list. Note that this can differ slightly from the display name of the entry (M_FEATURE_ENUM_ENTRY_DISPLAY_NAME + n).

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_TEXT_CHAR [optionally, in C++: MIL_STRING ] MORE
v
Click to summarize Value

Specifies the enumeration entry's name.

v
Click to summarize M_FEATURE_ENUM_ENTRY_TOOLTIP + n +

Inquires the tool-tip for the specified enumeration entry, where n is the index into the enumerated list.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_TEXT_CHAR [optionally, in C++: MIL_STRING ] MORE
v
Click to summarize Value

Specifies the enumeration entry's tooltip.

v
Click to summarize M_FEATURE_ENUM_ENTRY_VALUE + n

Inquires the enumeration integer value of the specified enumeration entry, where n is the index into the enumerated list.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_INT64
v
Click to summarize Value

Specifies the enumeration entry's integer value.

v
Click to summarize M_FEATURE_ENUM_ENTRY_VISIBILITY + n

Inquires the visibility level of the specified enumeration entry, where n is the index into the enumerated list. The visibility level indicates the level of expertise required to view or select the enumeration entry.

When creating a custom user interface for the camera's device description file (XML), the visibility level of the specified enumeration entry can be used to potentially hide the specified enumeration entry. The current level of visibility should be set within your custom user-interface, and the visibility level of the specified enumeration entry must be compared against it. If the specified enumeration entry has a level of visibility higher than the current level of visibility, it is hidden.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_INT64
v
Click to summarize M_FEATURE_VISIBILITY_BEGINNER

Specifies that the enumeration entry is suggested for beginners.

v
Click to summarize M_FEATURE_VISIBILITY_EXPERT

Specifies that the enumeration entry is suggested for experts.

v
Click to summarize M_FEATURE_VISIBILITY_GURU

Specifies that the enumeration entry is suggested for advanced experts.

v
Click to summarize M_FEATURE_VISIBILITY_INVISIBLE

Specifies that the enumeration entry should not be shown in the user-interface for the camera's device description file (XML). Note that an invisible feature can still be set or inquired using MbufControlFeature() and MbufInquireFeature(), respectively.

(summarize)
v

When the specified feature is of type category or "Root", you can use one of the following to inquire about its subfeatures. This is useful for enumerating the features of your camera.

function map For inquiring about the subfeatures of a feature
Click to summarize
InquireType
Description MIL system-specific
tooltip (‡)
UserVarPtr
- Possible values returned
Click to summarize M_SUBFEATURE_COUNT

Inquires the number of subfeatures or subcategories that the specified category feature (node) has.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_INT
v
Click to summarize Value

Specifies the number of subfeatures.

v
Click to summarize M_SUBFEATURE_NAME + n +

Inquires the name of the specified subfeature, where n is the index of subfeature.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_TEXT_CHAR [optionally, in C++: MIL_STRING ] MORE
v
Click to summarize Value

Specifies the name of the subfeature.

v
Click to summarize M_SUBFEATURE_TYPE + n

Inquires the type of the specified subfeature, where n is the index of subfeature.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_INT64
v
Click to summarize M_TYPE_BOOLEAN

Specifies that the feature's value is a boolean.

v
Click to summarize M_TYPE_CATEGORY

Specifies that the feature is a category.

v
Click to summarize M_TYPE_COMMAND

Specifies that the feature is a command to be executed.

v
Click to summarize M_TYPE_DOUBLE

Specifies that the feature's value is a floating-point.

v
Click to summarize M_TYPE_ENUMERATION

Specifies that the feature's value is an enumeration.

v
Click to summarize M_TYPE_INT64

Specifies that the feature's value is a 64-bit integer.

v
Click to summarize M_TYPE_REGISTER

Specifies that the feature is mapped to a multi-byte register.

v
Click to summarize M_TYPE_STRING

Specifies that the feature's value is a string.

v

You can add the following value to the above-mentioned values to get the string's length.

function map To inquire the size of a string
Click to summarizeInquireType combination value Description MIL system-specific
tooltip (‡)
UserVarPtr
- Possible values returned
Click to summarize M_STRING_SIZE

Retrieves the length of the string, including the terminating null character ("\0"). Note that, when used with M_FEATURE_VALUE, you can only use this combination value if the feature is of type string.

(summarize)
v
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
v
Compilation information
Header Include mil.h.
Library Use mil.lib.
DLL Requires mil.dll.
TYPE BOOLEAN TYPE DOUBLE TYPE INT64 TYPE STRING TYPE UINT8 FEATURE ACCESS MODE FEATURE CACHING MODE FEATURE CACHING MODE NONE FEATURE CACHING MODE WRITE AROUND FEATURE CACHING MODE WRITE THROUGH FEATURE CHANGE HOOK DISABLE ENABLE FEATURE DEPRECATED FALSE TRUE FEATURE DESCRIPTION FEATURE DISPLAY NAME FEATURE EXECUTE COMPLETED FALSE TRUE FEATURE INCREMENT FEATURE MAX FEATURE MIN FEATURE NAME FEATURE POLLING INTERVAL FEATURE PRESENT NO YES FEATURE REPRESENTATION FEATURE REPRESENTATION BOOLEAN FEATURE REPRESENTATION HEX NUMBER FEATURE REPRESENTATION IPV4 ADDRESS FEATURE REPRESENTATION LINEAR FEATURE REPRESENTATION LOGARITHMIC FEATURE REPRESENTATION MAC ADDRESS FEATURE REPRESENTATION PURE NUMBER FEATURE SELECTOR COUNT FEATURE SELECTOR NAME n FEATURE SIZE FEATURE STREAMABLE FALSE TRUE FEATURE TOOLTIP FEATURE TYPE TYPE BOOLEAN TYPE CATEGORY TYPE COMMAND TYPE DOUBLE TYPE ENUMERATION TYPE INT64 TYPE REGISTER TYPE STRING FEATURE VALUE FEATURE VISIBILITY FEATURE VISIBILITY BEGINNER FEATURE VISIBILITY EXPERT FEATURE VISIBILITY GURU FEATURE VISIBILITY INVISIBLE FEATURE ENUM ENTRY ACCESS MODE n FEATURE ENUM ENTRY COUNT FEATURE ENUM ENTRY DESCRIPTION n FEATURE ENUM ENTRY DISPLAY NAME n FEATURE ENUM ENTRY NAME n FEATURE ENUM ENTRY TOOLTIP n FEATURE ENUM ENTRY VALUE n FEATURE ENUM ENTRY VISIBILITY n FEATURE VISIBILITY BEGINNER FEATURE VISIBILITY EXPERT FEATURE VISIBILITY GURU FEATURE VISIBILITY INVISIBLE SUBFEATURE COUNT SUBFEATURE NAME n SUBFEATURE TYPE n TYPE BOOLEAN TYPE CATEGORY TYPE COMMAND TYPE DOUBLE TYPE ENUMERATION TYPE INT64 TYPE REGISTER TYPE STRING STRING SIZE TYPE BOOLEAN TYPE DOUBLE TYPE INT64