IMAQdxEnumerateVideoModesCW
Format
IMAQdxEnumerateVideoModesCW(id As IMAQdxSession, videoModeArray() As IMAQdxVideoMode, currentMode As Long) As IMAQdxError
Purpose
Returns a list of video modes supported by the camera.
Note This function applies only to cameras of bus type IMAQdxBusTypeFireWire. Use IMAQdxGetAttributeCW with attribute IMAQdxAttributeBusType to get your bus type. |
Parameters
Parameter | Type | Description |
id | IMAQdxSession | A valid Session ID, which you can obtain using IMAQdxOpenCamera. |
videoModeArray | IMAQdxVideoModeArray[] | Contains an array of video modes supported by the current camera. |
currentMode | Long (passed by reference) | The index of the current mode used by the camera in videoModeArray. |
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.