NI TSM-1012 Missing Dots and Cut Off Image When Calibrating

Updated Jan 30, 2020

Reported In

Hardware

  • IC-3120
  • TSM-1012

Software

  • LabVIEW

Driver

  • Industrial Controller Device Drivers 17.1.1
  • NI-IMAQdx 17.1

Issue Details

I am using NI Linux Real-Time Target and I want to calibrate my touch screen monitor using NI TSM-1012 with the maximum resolution of 1024x768. However, when I am on calibration procedures, not all of dots are present as if the screen was zoomed in / cut-off. How do I complete this process?

Solution

Due to a known issue with the TSM-1012 calibration process, the instance of resolution used between monitor and the touch screen might be inaccurate. To mitigate this issue, we can implement the following workaround:
  1. Firstly, ensure that your NI Linux Real-Time Target is accessible via a PC or laptop (either through a physical connection or over a network). Then connect the TSM-1012 to your target using a USB or RS232 cable.
  2. Create a blank text document on your PC.
  3. Paste the following script into your blank document:
    #!/bin/bash
    #Workaround for calibrating the TSM-1012 and TSM-1015
    
    xrandr -s 1280x1024
    /usr/bin/xinput_calibrator_wrapper
    xrandr -s 1024x768
  4. Change the extension of your text file into bash file, by renaming the .txt suffix to .bsh
  5. Execute the file on your NI Linux Real-Time Target by using the following terminal command:
    • For further instructions on how to execute a terminal command, see Accessing the Shell on NI Linux Real-Time Devices.
      ./<your-recently-made-file-name>.bsh
    • for example if your file name is tsm1012bugfix.bsh, your command would be:
      ./tsm1012bugfix.bsh
  6. Complete the calibration process

Additional Information

The issue was also known to affect NI TSM-1015, however the fix provided here has not been tested for NI TSM-1015.