Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

imgInterfaceQueryNames

My hardware:

 

img0: NI PCI-1426

img1: NI PCI-1426

img2: NI PCIe-1430

 

The function "imgInterfaceQueryNames" will only

query img0 and img1.

 

Is there a bug with this call?

 

CVI 8.1

NI-IMAQ 4.1

NI Vision 8.6

0 Kudos
Message 1 of 2
(3,434 Views)

Have you seen this

 

Usage

rval imgInterfaceQueryNames(uInt32 index, char* name);

Purpose

Returns the interface name identified by the index parameter. To obtain a list of all the available interface names, call this function repeatedly until the function returns an error. Make the first call with index initialized to zero. Each successive call increments the value of index by one.

  Note  This function will not enumerate the individual port numbers for interfaces that support multiple ports. For example, an interface img0 that supports two ports will still be enumerated as img0. To query the number of ports that an interface supports, open port 0 of the interface and query the attribute IMG_ATTR_NUM_PORTS.

 

0 Kudos
Message 2 of 2
(3,411 Views)