IMG_ATTR_HSCALE

NI IMAQ Function

IMG_ATTR_HSCALE

Gets/sets the horizontal hardware scaling factor. The horizontal resolution of the acquired image data will be reduced by this factor. This attribute is deprecated and is not supported by all NI image acquisition devices.

Values

The following list includes possible constant values:

  • IMG_SCALE_NONE—Performs no horizontal scaling.
  • IMG_SCALE_DIV2—The horizontal resolution is scaled down by a factor of 2.
  • IMG_SCALE_DIV4—The horizontal resolution is scaled down by a factor of 4.
  • IMG_SCALE_DIV8—The horizontal resolution is scaled down by a factor of 8.

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 PCI/PXI-1428