IMG_ATTR_CURRENT_PORT_NUM

NI IMAQ Function

IMG_ATTR_CURRENT_PORT_NUM

Returns the current port number that the opened interface is accessing.

Note  A port identifies a single independent data stream from a camera. All NI image acquisition devices support at least one port. Devices that support multiple ports can sustain independent and asynchronous acquisitions from the cameras on each port.

Remarks

The following table shows when the property is readable and writable and what devices it applies to.

Datatype Readable Writable Device
uInt32 Always NotWritable
  • NI PCI-1405
  • NI PCI/PXI-1407
  • NI PCI/PXI-1409
  • NI PCI-1410
  • NI PCI/PXI-1411
  • NI PCI/PXI-1422
  • NI PCI-1424
  • NI PCI-1426
  • NI PCIe-1427
  • NI PCI/PXI-1428
  • NI PCIe-1429
  • NI PCIe-1430