11-19-2009 09:20 AM
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
11-20-2009 03:54 AM
Have you seen this
rval imgInterfaceQueryNames(uInt32 index, char* name);
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. |