Skip to content

Gain#

The Gain camera feature allows you to increase the brightness of the images output by the camera.

Increasing the gain increases all pixel values of the image.

To adjust the gain value automatically, use the Gain Auto feature.

Using the Feature#

Configuring Gain Settings#

  1. Set the GainAuto parameter to Off.
  2. If the camera's gain control is user-settable, set the GainSelector to one of the following values:
    • AnalogAll: Selects the analog gain control.
    • DigitalAll: Selects the digital gain control.
  3. Set the Gain parameter to the required value.
    The minimum and maximum parameter values vary depending on the camera model, the pixel format chosen, and the Binning settings.

"Raw" and Absolute Gain Values#

On some camera models, the gain must be entered as a "raw" value on an integer scale. The camera needs the raw value for its internal processing mechanism. The raw value, however, isn't the same as the actual gain value, which is expressed in decibels (dB).

In the camera-specific Gain Properties table, you can find a formula to calculate the absolute gain (in dB) from the raw gain value.

Analog and Digital Gain#

Analog gain is applied before the signal from the camera sensor is converted into digital values. Digital gain is applied after the conversion, i.e., it is basically a multiplication of the digitized values.

Depending on your camera model, the mechanisms to control analog and digital gain can vary:

  • For some cameras, gain control is analog up to and including a certain threshold. Above the threshold, gain control is digital.
  • For some cameras, gain control is entirely digital.
  • For some cameras, you can use the GainSelector parameter to manually switch between analog and digital gain.

Specifics#

Gain Properties#

Show all camera models

Camera Model User-Settable Gain Control? Gain Control Mechanism Threshold Gain Must be Entered as Formula to Calculate Gain from Raw Gain Values
a2A1920-51gcBAS No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
a2A1920-51gcPRO No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
a2A1920-51gmBAS No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
a2A1920-51gmPRO No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
a2A1920-160ucBAS No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
a2A1920-160ucPRO No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
a2A1920-160umBAS No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
a2A1920-160umPRO No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
a2A2590-22gcBAS No Above the threshold, analog gain automatically switches to digital gain 30 dB N/A
a2A2590-22gcPRO No Above the threshold, analog gain automatically switches to digital gain 30 dB N/A
a2A2590-22gmBAS No Above the threshold, analog gain automatically switches to digital gain 30 dB N/A
a2A2590-22gmPRO No Above the threshold, analog gain automatically switches to digital gain 30 dB N/A
a2A2590-60ucBAS No Above the threshold, analog gain automatically switches to digital gain 30 dB N/A
a2A2590-60ucPRO No Above the threshold, analog gain automatically switches to digital gain 30 dB N/A
a2A2590-60umBAS No Above the threshold, analog gain automatically switches to digital gain 30 dB N/A
a2A2590-60umPRO No Above the threshold, analog gain automatically switches to digital gain 30 dB N/A
a2A3840-13gcBAS No Above the threshold, analog gain automatically switches to digital gain 30 dB N/A
a2A3840-13gcPRO No Above the threshold, analog gain automatically switches to digital gain 30 dB N/A
a2A3840-13gmBAS No Above the threshold, analog gain automatically switches to digital gain 30 dB N/A
a2A3840-13gmPRO No Above the threshold, analog gain automatically switches to digital gain 30 dB N/A
a2A3840-45ucBAS No Above the threshold, analog gain automatically switches to digital gain 30 dB N/A
a2A3840-45ucPRO No Above the threshold, analog gain automatically switches to digital gain 30 dB N/A
a2A3840-45umBAS No Above the threshold, analog gain automatically switches to digital gain 30 dB N/A
a2A3840-45umPRO No Above the threshold, analog gain automatically switches to digital gain 30 dB N/A
acA640-90gc No Above the threshold, analog gain automatically switches to digital gain 511 Raw Gain = 0.0359 * GainRaw
acA640-90gm No Above the threshold, analog gain automatically switches to digital gain 511 Raw Gain = 0.0359 * GainRaw
acA640-90uc No Above the threshold, analog gain automatically switches to digital gain 11.52 dB N/A
acA640-90um No Above the threshold, analog gain automatically switches to digital gain 124 dB N/A
acA640-120gc No Above the threshold, analog gain automatically switches to digital gain 511 Raw Gain = 0.0359 * GainRaw
acA640-120gm No Above the threshold, analog gain automatically switches to digital gain 511 Raw Gain = 0.0359 * GainRaw
acA640-120uc No Above the threshold, analog gain automatically switches to digital gain 14.75 dB N/A
acA640-120um No Above the threshold, analog gain automatically switches to digital gain 14.75 dB N/A
acA640-121gm No Above the threshold, analog gain automatically switches to digital gain N/A Raw Gain = 0.0359 * GainRaw (Sony ICX618 replacement)
acA640-300gc No Digital Control only - Raw Gain = 20 * log10 (GainRaw / 136)
acA640-300gm No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 136)
acA640-750uc No Digital gain only - dB N/A
acA640-750um No Digital gain only - dB N/A
acA720-290gc No Above the threshold, analog gain automatically switches to digital gain 240 Raw Gain = 0.1 * GainRaw
acA720-290gm No Above the threshold, analog gain automatically switches to digital gain 240 Raw Gain = 0.1 * GainRaw
acA720-520uc No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA720-520um No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA780-75gc No Above the threshold, analog gain automatically switches to digital gain 511 Raw Gain = 0.0359 * GainRaw
acA780-75gm No Above the threshold, analog gain automatically switches to digital gain 511 Raw Gain = 0.0359 * GainRaw
acA800-200gc No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 136)
acA800-200gm No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 136)
acA800-510uc No Digital gain only - dB N/A
acA800-510um No Digital gain only - dB N/A
acA1280-60gc Yes Gain control settable via GainSelector parameter. - Raw Analog Gain: - Gain is 0 when GainRaw is set to 0
- Gain is 3.5 when GainRaw is set to 1
- Gain is 6 when GainRaw is set to 2
- Gain is 9.5 when GainRaw is set to 3
Digital Gain: - Gain = 20 * log10 (1 + ((GainRaw * 2) / 64)) for all GainRaw < 32
- Gain = 20 * log10 (1 + ((GainRaw * 2) / 64)) for all GainRaw ≥ 32
acA1280-60gm Yes Gain control settable via GainSelector parameter. - Raw Analog Gain: - Gain is 0 when GainRaw is set to 0
- Gain is 3.5 when GainRaw is set to 1
- Gain is 6 when GainRaw is set to 2
- Gain is 9.5 when GainRaw is set to 3
Digital Gain: - Gain = 20 * log10 (1 + ((GainRaw * 2) / 64)) for all GainRaw < 32
- Gain = 20 * log10 (1 + ((GainRaw * 2) / 64)) for all GainRaw ≥ 32
acA1300-22gc No Above the threshold, analog gain automatically switches to digital gain 511 Raw Gain = 0.0359 * GainRaw
acA1300-22gm No Above the threshold, analog gain automatically switches to digital gain 511 Raw Gain = 0.0359 * GainRaw
acA1300-30gc No Above the threshold, analog gain automatically switches to digital gain 511 Raw Gain = 0.0359 * GainRaw
acA1300-30gm No Above the threshold, analog gain automatically switches to digital gain 511 Raw Gain = 0.0359 * GainRaw
acA1300-30uc No Above the threshold, analog gain automatically switches to digital gain 7.57 dB N/A
acA1300-30um No Above the threshold, analog gain automatically switches to digital gain 7.57 dB N/A
acA1300-60gc Yes Gain control settable via GainSelector parameter. - Raw Analog Gain: - Gain is 0 when GainRaw is set to 0
- Gain is 3.5 when GainRaw is set to 1
- Gain is 6 when GainRaw is set to 2
- Gain is 9.5 when GainRaw is set to 3
Digital Gain: - Gain = 20 * log10 (1 + ((GainRaw * 2) / 64)) for all GainRaw < 32
- Gain = 20 * log10 (1 + ((GainRaw * 2) / 64)) for all GainRaw ≥ 32
acA1300-60gm Yes Gain control settable via GainSelector parameter. - Raw Analog Gain: - Gain is 0 when GainRaw is set to 0
- Gain is 3.5 when GainRaw is set to 1
- Gain is 6 when GainRaw is set to 2
- Gain is 9.5 when GainRaw is set to 3
Digital Gain: - Gain = 20 * log10 (1 + ((GainRaw * 2) / 64)) for all GainRaw < 32
- Gain = 20 * log10 (1 + ((GainRaw * 2) / 64)) for all GainRaw ≥ 32
acA1300-60gmNIR Yes Gain control settable via GainSelector parameter. - Raw Analog Gain: - Gain is 0 when GainRaw is set to 0
- Gain is 3.5 when GainRaw is set to 1
- Gain is 6 when GainRaw is set to 2
- Gain is 9.5 when GainRaw is set to 3
Digital Gain: - Gain = 20 * log10 (1 + ((GainRaw * 2) / 64)) for all GainRaw < 32
- Gain = 20 * log10 (1 + ((GainRaw * 2) / 64)) for all GainRaw ≥ 32
acA1300-75gc No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 136)
acA1300-75gm No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 136)
acA1300-200uc No Digital gain only - dB N/A
acA1300-200um No Digital gain only - dB N/A
acA1440-73gc No Above the threshold, analog gain automatically switches to digital gain 240 Raw Gain = 0.1 * GainRaw
acA1440-73gm No Above the threshold, analog gain automatically switches to digital gain 240 Raw Gain = 0.1 * GainRaw
acA1440-220uc No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA1440-220um No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA1600-20gc No Above the threshold, analog gain automatically switches to digital gain 511 Raws Gain = 0.0359 * GainRaw
acA1600-20gm No Above the threshold, analog gain automatically switches to digital gain 511 Raws Gain = 0.0359 * GainRaw
acA1600-20uc No Above the threshold, analog gain automatically switches to digital gain 10.10 dB N/A
acA1600-20um No Above the threshold, analog gain automatically switches to digital gain 10.10 dB N/A
acA1600-60gc Yes Gain control settable via GainSelector parameter - Raw Analog Gain: - Gain is 3.5 when GainRaw is set to 1
- Gain is 6 when GainRaw is set to 2
- Gain is 9.5 when GainRaw is set to 3
Digital Gain: - Gain = 20 * log10 (1 + ((GainRaw * 2) / 64)) for all GainRaw < 32
- Gain = 20 * log10 (1 + ((GainRaw * 2) / 64)) for all GainRaw ≥ 32
acA1600-60gm Yes Gain control settable via GainSelector parameter - Raw Analog Gain: - Gain is 3.5 when GainRaw is set to 1
- Gain is 6 when GainRaw is set to 2
- Gain is 9.5 when GainRaw is set to 3
Digital Gain: - Gain = 20 * log10 (1 + ((GainRaw * 2) / 64)) for all GainRaw < 32
- Gain = 20 * log10 (1 + ((GainRaw * 2) / 64)) for all GainRaw ≥ 32
acA1920-25gc No Above the threshold, analog gain automatically switches to digital gain 19 Raw See this graph for approximate values.
acA1920-25gm No Above the threshold, analog gain automatically switches to digital gain 19 Raw See this graph for approximate values.
acA1920-25uc No Digital gain only - dB N/A
acA1920-25um No Digital gain only - dB N/A
acA1920-40gc No Above the threshold, analog gain automatically switches to digital gain 240 Raw Gain = 0.1 * GainRaw
acA1920-40gm No Above the threshold, analog gain automatically switches to digital gain 240 Raw Gain = 0.1 * GainRaw
acA1920-40uc No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA1920-40ucMED No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA1920-40um No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA1920-40umMED No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA1920-48gc No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 136)
acA1920-48gm No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 136)
acA1920-50gc No Above the threshold, analog gain automatically switches to digital gain 240 Raw Gain = 0.1 * GainRaw
acA1920-50gm No Above the threshold, analog gain automatically switches to digital gain 240 Raw Gain = 0.1 * GainRaw
acA1920-150uc No Digital gain only - dB N/A
acA1920-150um No Digital gain only - dB N/A
acA1920-155uc No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA1920-155ucMED No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA1920-155um No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA1920-155umMED No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA2000-50gc No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 32)
acA2000-50gm No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 32)
acA2000-50gmNIR No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 32)
acA2000-165uc No Digital gain only - dB N/A
acA2000-165um No Digital gain only - dB N/A
acA2000-165umNIR No Digital gain only - dB N/A
acA2040-25gc No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 32)
acA2040-25gm No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 32)
acA2040-25gmNIR No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 32)
acA2040-35gc No Above the threshold, analog gain automatically switches to digital gain 240 Raw Gain = 0.1 * GainRaw
acA2040-35gm No Above the threshold, analog gain automatically switches to digital gain 240 Raw Gain = 0.1 * GainRaw
acA2040-55uc No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA2040-55um No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA2040-90uc No Digital gain only - dB N/A
acA2040-90um No Digital gain only - dB N/A
acA2040-90umNIR No Digital gain only - dB N/A
acA2040-120uc No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA2040-120um No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA2440-20gc No Above the threshold, analog gain automatically switches to digital gain 240 Raw Gain = 0.1 * GainRaw
acA2440-20gm No Above the threshold, analog gain automatically switches to digital gain 240 Raw Gain = 0.1 * GainRaw
acA2440-35uc No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA2440-35ucMED No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA2440-35um No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA2440-35umMED No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA2440-75uc No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA2440-75ucMED No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA2440-75um No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA2440-75umMED No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA2500-14gc No Above the threshold, analog gain automatically switches to digital gain 19 Raw See this graph for approximate values.
acA2500-14gm No Above the threshold, analog gain automatically switches to digital gain 19 Raw See this graph for approximate values.
acA2500-14uc No Digital gain only - dB N/A
acA2500-14um No Digital gain only - dB N/A
acA2500-20gc No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 136)
acA2500-20gcMED No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 136)
acA2500-20gm No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 136)
acA2500-20gmMED No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 136)
acA2500-60uc No Digital gain only - dB N/A
acA2500-60um No Digital gain only - dB N/A
acA3088-16gc No Above the threshold, analog gain automatically switches to digital gain 240 Raw Gain = 0.1 * GainRaw
acA3088-16gm No Above the threshold, analog gain automatically switches to digital gain 240 Raw Gain = 0.1 * GainRaw
acA3088-57uc No Analog gain only - dB N/A
acA3088-57um No Analog gain only - dB N/A
acA3800-10gc No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 32)
acA3800-10gm No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 32)
acA3800-14uc No Digital gain only - dB N/A
acA3800-14um No Digital gain only - dB N/A
acA4024-8gc No Analog gain only - Raw Gain = 20 * log10 ((2048-GainRaw) / 2048)
acA4024-8gm No Analog gain only - Raw Gain = 20 * log10 ((2048-GainRaw) / 2048)
acA4024-29uc No Analog gain only - dB N/A
acA4024-29um No Analog gain only - dB N/A
acA4096-11gc No Above the threshold, analog gain automatically switches to digital gain 240 Raw Gain = 0.1 * GainRaw
acA4096-11gm No Above the threshold, analog gain automatically switches to digital gain 240 Raw Gain = 0.1 * GainRaw
acA4096-30uc No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA4096-30ucMED No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA4096-30um No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA4096-30umMED No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA4096-40uc No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA4096-40ucMED No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA4096-40um No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA4096-40umMED No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA4112-8gc No Above the threshold, analog gain automatically switches to digital gain 240 Raw Gain = 0.1 * GainRaw
acA4112-8gm No Above the threshold, analog gain automatically switches to digital gain 240 Raw Gain = 0.1 * GainRaw
acA4112-20uc No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA4112-20ucMED No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA4112-20um No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA4112-20umMED No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA4112-30uc No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA4112-30ucMED No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA4112-30um No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA4112-30umMED No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
acA4600-7gc No Digital gain only - Raw Gain = 20 * log10 (GainRaw / 32)
acA4600-10uc No Digital gain only - dB N/A
acA5472-5gc No Analog gain only - Raw Gain = 20 * log10 ((2048-GainRaw) / 2048)
acA5472-5gm No Analog gain only - Raw Gain = 20 * log10 ((2048-GainRaw) / 2048)
acA5472-17uc No Analog gain only - dB N/A
acA5472-17ucMED No Analog gain only - dB N/A
acA5472-17um No Analog gain only - dB N/A
boA4096-93cc No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
boA4096-93cm No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
boA4112-68cc No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
boA4112-68cm No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
daA1280-54lc No Digital gain only - dB N/A
daA1280-54lm No Digital gain only - dB N/A
daA1280-54uc No Digital gain only - dB N/A
daA1280-54um No Digital gain only - dB N/A
daA1600-60lc No Digital gain only - dB N/A
daA1600-60lm No Digital gain only - dB N/A
daA1600-60uc No Digital gain only - dB N/A
daA1600-60um No Digital gain only - dB N/A
daA1920-15um No Digital gain only - dB N/A
daA1920-30uc No Digital gain only - dB N/A
daA1920-30um No Digital gain only - dB N/A
daA2500-14lc No Digital gain only - dB N/A
daA2500-14lm No Digital gain only - dB N/A
daA2500-14uc No Digital gain only - dB N/A
daA2500-14um No Digital gain only - dB N/A
daA2500-60mc No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
daA2500-60mci No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
daA4200-30mci No Above the threshold, analog gain automatically switches to digital gain 24 dB N/A
puA1280-54uc No Digital gain only - dB N/A
puA1280-54um No Digital gain only - dB N/A
puA1600-60uc No Digital gain only - dB N/A
puA1600-60um No Digital gain only - dB N/A
puA1920-30uc No Digital gain only - dB N/A
puA1920-30um No Digital gain only - dB N/A
puA2500-14uc No Digital gain only - dB N/A
puA2500-14um No Digital gain only - dB N/A

Gain Values#

Info

On some camera models, you can use the Remove Parameter Limits feature to increase the gain parameter limits.

Show all camera models

Camera Model Minimum Gain Setting Minimum Gain Setting with Vertical Binning Enabled Maximum Gain Setting (8-bit Pixel Formats) Maximum Gain Setting (10-bit Pixel Formats) Maximum Gain Setting (12-bit Pixel Formats)
a2A1920-51gcBAS 0 - 48 - 48
a2A1920-51gcPRO 0 - 48 - 48
a2A1920-51gmBAS 0 0 48 - 48
a2A1920-51gmPRO 0 0 48 - 48
a2A1920-160ucBAS 0 - 48 - 48
a2A1920-160ucPRO 0 - 48 - 48
a2A1920-160umBAS 0 0 48 - 48
a2A1920-160umPRO 0 0 48 - 48
a2A2590-22gcBAS 0 - 48 - 48
a2A2590-22gcPRO 0 - 48 - 48
a2A2590-22gmBAS 0 0 48 - 48
a2A2590-22gmPRO 0 0 48 - 48
a2A2590-60ucBAS 0 - 48 - 48
a2A2590-60ucPRO 0 - 48 - 48
a2A2590-60umBAS 0 0 48 - 48
a2A2590-60umPRO 0 0 48 - 48
a2A3840-13gcBAS 0 - 48 - 48
a2A3840-13gcPRO 0 - 48 - 48
a2A3840-13gmBAS 0 0 48 - 48
a2A3840-13gmPRO 0 0 48 - 48
a2A3840-45ucBAS 0 - 48 - 48
a2A3840-45ucPRO 0 - 48 - 48
a2A3840-45umBAS 0 0 48 - 48
a2A3840-45umPRO 0 0 48 - 48
acA640-90gc 190 - 1023 - 400
acA640-90gm 190 100 1023 - 400
acA640-90uc 0 - 29.90 - 7.54
acA640-90um 0 -3.231 29.90 - 7.54
acA640-120gc 100 - 1023 - 600
acA640-120gm 100 100 1023 - 600
acA640-120uc 0 - 33.14 - 17.95
acA640-120um 0 0 33.14 - 17.95
acA640-121gm 0 0 1023 - 600
acA640-300gc 136 - 542 542 -
acA640-300gm 136 136 542 542 -
acA640-750uc 0 - 12 12 -
acA640-750um 0 0 12 12 -
acA720-290gc 0 - 360 - 240
acA720-290gm 0 0 360 - 240
acA720-520uc 0 - 36 - 24
acA720-520um 0 0 36 - 24
acA780-75gc 250 - 1023 - 400
acA780-75gm 250 140 1023 - 400
acA800-200gc 136 - 542 542 -
acA800-200gm 136 136 542 542 -
acA800-510uc 0 - 12 12 -
acA800-510um 0 0 12 12 -
acA1280-60gc 0 - - - 3/95a
acA1280-60gm 0 0 - - 3/95a
acA1300-22gc 300 - 850 - 400
acA1300-22gm 300 200 850 - 400
acA1300-30gc 300 - 850 - 400
acA1300-30gm 300 200 850 - 400
acA1300-30uc 0 - 19.74 - 3.59
acA1300-30um 0 -3.59 19.74 - 3.59
acA1300-60gc 0 - - - 3/95a
acA1300-60gm 0 0 - - 3/95a
acA1300-60gmNIR 0 0 - - 3/95a
acA1300-75gc 136 - 542 542 -
acA1300-75gm 136 136 542 542 -
acA1300-200uc 0 - 12 12 -
acA1300-200um 0 0 12 12 -
acA1440-73gc 0 - 360 - 240
acA1440-73gm 0 0 360 - 240
acA1440-220uc 0 - 36 - 24
acA1440-220um 0 0 36 - 24
acA1600-20gc 230 - 850 - 400
acA1600-20gm 230 220 850 - 400
acA1600-20uc 0 - 22.26 - 6.10
acA1600-20um 0 -3.59 22.26 - 6.10
acA1600-60gc 1/0a - - - 3/95a
acA1600-60gm 1/0a 1/0a - - 3/95a
acA1920-25gc 0 - 63 - 63
acA1920-25gm 0 0 63 - 63
acA1920-25uc 0 - 23.80 - 23.80
acA1920-25um 0 0 23.80 - 23.80
acA1920-40gc 0 0 360 - 240
acA1920-40gm 0 0 360 - 240
acA1920-40uc 0 - 36 - 24
acA1920-40ucMED 0 0 36 - 24
acA1920-40um 0 0 36 24
acA1920-40umMED 0 0 36 - 24
acA1920-48gc 136 - 542 542 -
acA1920-48gm 136 136 542 542 -
acA1920-50gc 0 - 360 - 240
acA1920-50gm 0 0 360 - 240
acA1920-150uc 0 - 12 12 -
acA1920-150um 0 0 12 12 -
acA1920-155uc 0 - 36 - 24
acA1920-155ucMED 0 - 36 - 24
acA1920-155um 0 0 36 - 24
acA1920-155umMED 0 0 36 - 24
acA2000-50gc 36 - 512 - 512
acA2000-50gm 36 33 512 - 512
acA2000-50gmNIR 36 33 512 - 512
acA2000-165uc 0 - 23.59 - 23.59
acA2000-165um 0 0 23.59 - 23.59
acA2000-165umNIR 0 0 23.59 - 23.59
acA2040-25gc 36 - 512 - 512
acA2040-25gm 36 33 512 - 512
acA2040-25gmNIR 36 33 512 - 512
acA2040-35gc 0 - 360 - 240
acA2040-35gm 0 0 360 - 240
acA2040-55uc 0 - 36 - 24
acA2040-55um 0 0 36 - 24
acA2040-90uc 0 - 23.59 - 23.59
acA2040-90um 0 0 23.59 - 23.59
acA2040-90umNIR 0 0 23.59 - 23.59
acA2040-120uc 0 - 36 - 24
acA2040-120um 0 0 36 - 24
acA2440-20gc 0 - 360 - 240
acA2440-20gm 0 0 360 - 240
acA2440-35uc 0 - 36 - 24
acA2440-35ucMED 0 - 36 - 24
acA2440-35um 0 0 36 - 24
acA2440-35umMED 0 0 36 - 24
acA2440-75uc 0 - 36 - 24
acA2440-75ucMED 0 0 36 - 24
acA2440-75um 0 0 36 - 24
acA2440-75umMED 0 - 36 - 24
acA2500-14gc 0 - 63 - 63
acA2500-14gm 0 0 63 - 63
acA2500-14uc 0 - 23.80 - 23.80
acA2500-14um 0 0 23.80 - 23.80
acA2500-20gc 136 136 542 542 -
acA2500-20gcMED 136 - 542 542 -
acA2500-20gm 136 136 542 542 -
acA2500-20gmMED 136 136 542 542 -
acA2500-60uc 0 - 12 12 -
acA2500-60um 0 0 12 12 -
acA3088-16gc 0 - 360 - 240
acA3088-16gm 0 0 360 - 240
acA3088-57uc 0 - 36 - 24
acA3088-57um 0 0 36 - 24
acA3800-10gc 33 - 255 - 255
acA3800-10gm 33 33 255 - 255
acA3800-14uc 0 - 16.68 - 16.68
acA3800-14um 0 0 16.68 - 16.68
acA4024-8gc 0 - 1957 - 1957
acA4024-8gm 0 0 1957 - 1957
acA4024-29uc 0 - 27 - 27
acA4024-29um 0 0 27 - 27
acA4096-11gc 0 0 36 - 24
acA4096-11gm 0 0 36 - 24
acA4096-30uc 0 - 36 - 24
acA4096-30ucMED 0 - 36 - 24
acA4096-30um 0 0 36 - 24
acA4096-30umMED 0 0 36 - 24
acA4096-40uc 0 - 36 - 24
acA4096-40ucMED 0 - 36 - 24
acA4096-40um 0 0 36 - 24
acA4096-40umMED 0 0 36 - 24
acA4112-8gc 0 0 36 - 24
acA4112-8gm 0 0 36 - 24
acA4112-20uc 0 - 36 - 24
acA4112-20ucMED 0 - 36 - 24
acA4112-20um 0 0 36 - 24
acA4112-20umMED 0 0 36 - 24
acA4112-30uc 0 - 36 - 24
acA4112-30ucMED 0 - 36 - 24
acA4112-30um 0 0 36 - 24
acA4112-30umMED 0 0 36 - 24
acA4600-7gc 33 33 255 - 255
acA4600-10uc 0 - 17.76 - 17.76
acA5472-5gc 0 - 1957 - 1957
acA5472-5gm 0 0 1957 - 1957
acA5472-17uc 0 - 27.04 - 27.04
acA5472-17ucMED 0 - 27.04 - 27.04
acA5472-17um 0 0 27.04 - 27.04
boA4096-93cc 0 - 48 - 48
boA4096-93cm 0 - 48 - 48
boA4112-68cc 0 - 48 - 48
boA4112-68cm 0 - 48 - 48
daA1280-54lc 0 0 18 - 18
daA1280-54lm 0 0 18 - 18
daA1280-54uc 0 0 18 - 18
daA1280-54um 0 0 18 - 18
daA1600-60lc 0 0 24 - 24
daA1600-60lm 0 0 24 - 24
daA1600-60uc 0 0 24 - 24
daA1600-60um 0 0 24 - 24
daA1920-15um 0 0 24 - 24
daA1920-30uc 0 0 24 - 24
daA1920-30um 0 0 24 - 24
daA2500-14lc 0 0 24 - 24
daA2500-14lm 0 0 24 - 24
daA2500-14uc 0 0 24 - 24
daA2500-14um 0 0 24 - 24
daA2500-60mc 0 Binning Feature not supported 42 - -
daA2500-60mci 0 Binning Feature not supported 33.98 - -
daA4200-30mci 0 Binning Feature not supported 33.06 - -
puA1280-54uc 0 0 18 - 18
puA1280-54um 0 0 18 - 18
puA1600-60uc 0 0 24 - 24
puA1600-60um 0 0 24 - 24
puA1920-30uc 0 0 24 - 24
puA1920-30um 0 0 24 - 24
puA2500-14uc 0 0 24 - 24
puA2500-14um 0 0 24 - 24

  1. Analog gain / digital gain.

Sample Code#

ace classic/U/L Cameras#

// Set the "raw" gain value to 400
// If you want to know the resulting gain in dB, use the formula given in this topic
camera.GainRaw.SetValue(400);
INodeMap& nodemap = camera.GetNodeMap();
// Set the "raw" gain value to 400
// If you want to know the resulting gain in dB, use the formula given in this topic
CIntegerPtr(nodemap.GetNode("GainRaw"))->SetValue(400);
INodeMap& nodemap = camera.GetNodeMap();
// Set the "raw" gain value to 400
// If you want to know the resulting gain in dB, use the formula given in this topic
CIntegerParameter(nodemap, "GainRaw").SetValue(400);
// Set the "raw" gain value to 400
// If you want to know the resulting gain in dB, use the formula given in this topic
camera.Parameters[PLCamera.GainRaw].SetValue(400);
// Set the "raw" gain value to 400
// If you want to know the resulting gain in dB, use the formula given in this topic
Pylon.DeviceSetIntegerFeature(hdev, "GainRaw", 400);
/* Macro to check for errors */
#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)
GENAPIC_RESULT errRes = GENAPI_E_OK;  /* Return value of pylon methods */
/* Set the "raw" gain value to 400 */
/* If you want to know the resulting gain in dB, use the formula given in this topic */
errRes = PylonDeviceSetIntegerFeature(hdev, "GainRaw", 400);
CHECK(errRes);

Other Cameras#

// Set the gain to 4.2 dB
camera.Gain.SetValue(4.2);
INodeMap& nodemap = camera.GetNodeMap();
// Set the gain to 4.2 dB
CFloatPtr(nodemap.GetNode("Gain"))->SetValue(4.2);
INodeMap& nodemap = camera.GetNodeMap();
// Set the gain to 4.2 dB
CFloatParameter(nodemap, "Gain").SetValue(4.2);
// Set the gain to 4.2 dB
camera.Parameters[PLCamera.Gain].SetValue(4.2);
// Set the gain to 4.2 dB
Pylon.DeviceSetFloatFeature(hdev, "Gain", 4.2);
/* Macro to check for errors */
#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)
GENAPIC_RESULT errRes = GENAPI_E_OK;  /* Return value of pylon methods */
/* Set the gain to 4.2 dB */
errRes = PylonDeviceSetFloatFeature(hdev, "Gain", 4.2);
CHECK(errRes);

You can also use the pylon Viewer to easily set the parameters.