IMG_ATTR_ROWPIXELS

NI IMAQ Function

IMG_ATTR_ROWPIXELS

Gets/sets the number of pixels in a row of an image. This attribute value may be larger than the width of the image. For example, if you are acquiring an 640x480 image into a 1280x960 buffer, and you want to place the image at the 640x480 position in the buffer, you must set IMG_ATTR_ROWPIXELS to 1280 so that the acquisition moves 1280 pixels from the end of first row of the acquired image before it copies the next row of pixels into the buffer.

Remarks

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

Datatype Readable Writable Device
uInt32 Always Configuration
  • 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