KB041 How to find the COM port number of the Dimetix sensor?

To access the Dimetix Sensor with the Laser Sensor Utility software (or an other Software) via the RS-232 or USB Interface, the COM number of the used interface must be determined first.

USB:

The easiest way is to use the Laser Sensor Utility Software directly.

  1. Make sure that the sensor is not yet connected to the PC via USB
  2. Start the Laser Sensor Utility software.
  3. Expand the selection field “Communication Parameters / Ports” to show the already existing COM numbers. In the first figure on the left, this is COM1, COM2, COM11 and COM12.
  4. Power the sensor with an external 12-24V power supply and connect it with a USB cable to the PC.
  5. Click the “Refresh port” button in the software.
  6. Expand the selection field “Communication Parameters / Port”. An additional COM number is now displayed. In the second figure on the left, this is COM3. This is the COM port number of the sensor.

RS-232 (connected to the PC via RS-232/USB adapter):

Except that the sensor is connected via RS-232/USB adapter, the procedure is the same as for USB interface. Make sure that the RS-232/USB adapter is not connected to the PC at the beginning.

RS-232 (directly connected to RS-232 connector of the PC):

The easiest way is to try one COM number after another using the Laser Sensor Utility software.

  1. Power the sensor with an external 12-24V power supply and connect it to the RS-232 connector of the PC.
  2. Start the Laser Sensor Utility software and select the lowest COM number in the “Communication Parameters / Ports” selection field and click the “Check Connection” button. In the third figure on the left you can see that the first connection attempt using COM1 failed.
  3. Select one COM number after the other as described above and click “Check Connection” until the software connects successfully to the sensor. In the fourth figure on the left, this is the case with COM2. COM2 is therefore the COM port number you are looking for.

Windows Device Manager:

With the program “Device Manager”, which is standard on every Windows PC, the existing COM port numbers can also be displayed. See the figure below on the left. This allows a direct overview of the existing COM port numbers.