IMAQdxEnumerateAttributeValuesCW
Format
IMAQdxEnumerateAttributeValuesCW (id As IMAQdxSession, name As String, enumItemArray() As IMAQdxEnumItem) As IMAQdxError
Purpose
Gets the values supported by the camera attribute.
![]() |
Note This function applies only to attributes of type IMAQdxAttributeTypeEnum. Use IMAQdxGetAttributeType to get your attribute type. |
Parameters
Parameter | Type | Description |
id | IMAQdxSession | A valid Session ID, which you can obtain using IMAQdxOpenCamera. |
name | String | The name of the attribute whose values you want to enumerate. Refer to Attribute Name for a list of attributes. |
enumItemArray | IMAQdxEnumItem [] | The list of attribute values for the attribute specified by name. |
Return Value
On success, this function returns IMAQdxErrorSuccess. On failure, this function returns an error code. You can obtain a more detailed error message with IMAQdxGetErrorStringCW.