imaq1394GetInterfaceFilesCW

NI-IMAQ for IEEE 1394 Cameras Function

imaq1394GetInterfaceFilesCW

Format

imaq1394GetInterfaceFilesCW (psaInterfaceFileArray() As InterfaceFile) As IMG_ERR

Purpose

Enumerates the interfaces currently on the host computer.

Parameters

Parameter Type Description
psaInterfaceFileArray SAFEARRAY (InterfaceFile) An array of InterfaceFile structure elements in which the interfaces supported by the system are stored.

Parameter Discussion

The interface file structure contains information about currently and previously connected interfaces. Once enumerated, check the Flags member of the InterfaceFile structure. If the value of Flags is 0, the camera is not currently connected. If the value of Flags is 1, the camera is currently connected.

Return Value

On success, this function returns IMG1394_ERR_GOOD. On failure, this function returns an error code. You can obtain a more detailed error message with imaq1394ShowErrorCW.