Skip to content

T37 Diagnostic Data Options

mgong98 edited this page Oct 1, 2024 · 8 revisions

List of T37 Diagnostic Data Options

X and Y capacitance node information is available through the T37 Diagnostic Debug Object. Capturing frames of diagnostic data allows the user to create a heat map of the current state of the sensor. The default mode is to capture touch deltas. Self capacitance measurements are only available on some devices.

--debug-dump *FILE* : The T37 Diagnostic Data object provides raw access to touch reference/delta measurements from
                      the touch screen. 

--frames *N* : Capture N frames of data.

--instance *N* : Capture object instance N. Defaults to instance 0.

--file-attr *N* : Select 0 to overwrite the file, select 1 to append to the file.

Diagnostic data is written to FILE in CSV format. Format 0 is compatible with the maXTouch Studio Graphical Debug Viewer utility.

--format *N* : Capture using Format 0 or 1. Format 0 - Outputs all nodes in single line (X0Y0, X0Y1, ... X1Y0). 
               Format 0 - Compatible wit MTS Graphical Debug Viewer
               Format 1 - Outputs in (X) row and (Y) column format
               Format 2 - Outputs in (X) row and (Y) column format with PASS/FAIL based on set signal limits per node
               
--references : Capture references data

--self-cap-signals : Capture self cap signals

--self-cap-deltas : Capture self cap deltas

--self-cap-refs : Capture self cap references

--active-stylus-deltas : Capture active stylus deltas

--active-stylus-refs : Capture active stylus references

EXAMPLE: Captures 10 frames of deltas on touchscreen #1 in format #1

./mxt-app –debug-dump deltas.csv --frames 10 --instance 0 --format 1

EXAMPLE: Captures 10 frames of self cap deltas on touchscreen #1 (self cap only support format 0)

./mxt-app --debug-dump scdeltas.csv --self-cap-deltas --frames 10 --instance 0
Clone this wiki locally