Gain

Gain

Overview

The Gain setting in DISPLAX Service controls the amplification level of the touch signal injected by the DISPLAX touch controller. Proper Gain adjustment is essential for achieving accurate touch detection while avoiding noise, false touches, or unstable behavior.

Gain tuning is typically performed together with Threshold and Shield settings.


Check the Current Gain Value

To view the current Gain value on a local device, run:

displaxservice -a 127.0.0.1 --gain

This command returns the active Gain value used by DISPLAX Service.


Set the Gain Value

To change the Gain value, specify a numeric value.

Example: Set Gain to 5

displaxservice -a 127.0.0.1 --gain 5

The new Gain value will be applied immediately to the connected touch controller.


Important: Gain Value Inversion

Important Note
The Gain value used in DISPLAX Service (command line) is inverted compared to the Gain value shown in DISPLAX Connect.

This means:

  • A higher number in displaxservice = lower Gain in DISPLAX Connect

  • A lower number in displaxservice = higher Gain in DISPLAX Connect

Gain Value Mapping

DISPLAX Connect      displaxservice
70
61
52
43
34
25
16
07

Example:
Setting:

displaxservice --gain 5

Is equivalent to Gain = 2 in DISPLAX Connect.


What Gain Controls

  • Higher Gain increases touch signal amplification

  • Lower Gain reduces sensitivity and noise amplification

Improper Gain settings may cause:

  • Missed touches (Gain too low)

  • False or unstable touches (Gain too high)


When to Adjust Gain

Adjust the Gain when:

  • Touches are not detected reliably

  • Light touches are ignored

  • Noise or ghost touches appear

  • Threshold adjustments alone do not resolve stability issues


Best Practices

  • Start with moderate Gain values.

  • Adjust Gain before fine-tuning Threshold.

  • Test touch performance across the entire sensor surface.

  • Avoid maximum Gain unless required by thick glass or large sensors.



    • Related Articles

    • What is DISPLAX Service?

      DISPLAX Service Overview DISPLAX Service is a background process (agent/daemon) installed alongside DISPLAX Connect that enables low-level communication with your DISPLAX Touch Controllers. It acts as a command-line interface, allowing advanced ...
    • Threshold

      Overview The Threshold setting in DISPLAX Service defines the sensitivity level used to determine what is considered a valid touch input. Adjusting the Threshold helps improve touch accuracy, stability, and reliability across different sensor sizes, ...
    • Touch operation mode

      Overview By default, DISPLAX Touch Controllers automatically select the correct touch operation mode for the operating system in use. In most cases, no manual configuration is required. However, if your application or environment requires a specific ...
    • Shield

      Overview The Shield feature in DISPLAX Service is used to reduce the effects of electromagnetic interference (EMI) on a touch sensor. Increasing the Shield value helps suppress noise that can cause false touches or unstable touch behavior, especially ...
    • Save / Load Settings

      Overview DISPLAX Service allows you to save and load all device settings and calibration data between Touch Controllers of the same model and firmware version. This feature is useful for backup, replication, and fast deployment across multiple ...