IMG_ATTR_NUM_PORTS

NI IMAQ Function

IMG_ATTR_NUM_PORTS

Returns the number of ports the device supports.

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