Skip to main content

Acquire Freeze Frame and Log

1 1. Overview​

Lidar freeze frames and logs allow you to trace the lidar's operating history, capture the moment of a fault, and locate the root cause of an issue. They are important operations for after-sales fault diagnosis and quality analysis. This document provides 3 different acquisition methods. You can choose the most suitable one based on the lidar's support level.

2 2. Lidar Model Support Matrix​

Lidar FamilyModelFreeze Frame (Script)Freeze Frame (Web/LidarUtilities)Log (Script)Log (Web/LidarUtilities)
PandarPandar128E3XHTTP / PTC (0x30)β€”HTTP Command / PTC (0x38)HTTP Web / LidarUtilities
QTQT128C2XHTTP Commandβ€”HTTP CommandHTTP Web / LidarUtilities
ATAT128HTTP CommandHTTP WebHTTP CommandHTTP Web
ATAT128PPTC (0x30)LidarUtilitiesβ€”LidarUtilities
ATATXPTC (0x30)β€”PTC (0xFF, 0x00000022)β€”
JTJT128PTC (0xA1)LidarUtilitiesβ€”β€”
JTJT64PPTC (0xA1)β€”β€”β€”
FTFT120PTC (0xA1)LidarUtilitiesβ€”LidarUtilities
FTFTX140PTC (0x30)β€”PTC (0xFF, 0x00000022)β€”
FTFTX180PTC (0x30)β€”PTC (0xFF, 0x00000022)β€”
OTOT128PTC (0x30)LidarUtilitiesPTC (0x38)LidarUtilities

Notes:

  • The XT series does not support the corresponding features, so it is not listed in the table;
  • The HTTP interface applies to the Pandar, QT, and AT128 series; among them, the Pandar_v5p5 series supports both HTTP and PTC commands.

3 3. Required Tools​

Software/ScriptHow to ObtainNotes
LidarUtilitiesHESAI official download pageFrom the official website
Get_lidar_data.pyGet_lidar_data.pyUnified script

Note: Before using the script, web login, or LidarUtilities, make sure the lidar can be pinged from this PC

4 4. Operating Methods​

4.1 4.1 Script-Based Acquisition​

4.1.1 4.1.1 HTTP (Script) Acquisition: QT128 as an Example​

  • Steps:

    1. Run the script;
    2. Enter the lidar model number, IP, and port;
    3. Files will be saved in the output folder under the script directory;
QT128 HTTP script freeze frame acquisition

4.1.2 4.1.2 PTC Command (0x30) Acquisition: FTX140 as an Example​

  • Steps (acquire freeze frame):

    1. Run the script;
    2. Enter the lidar model number, IP, and port;
    3. Enter the command code (30);
    4. Files will be saved in the output folder under the script directory;
FTX140 PTC command 0x30 freeze frame acquisition
  • Steps (acquire Log):

    1. Run the script;
    2. Enter the lidar model number, IP, and port;
    3. Enter the command code (FF) and payload (00000022FF);
    4. Files will be saved in the output folder under the script directory;
FTX140 PTC command 0xFF log acquisition

4.1.3 4.1.3 PTC Command (0xA1) Acquisition: JT128 as an Example​

  • Steps:

    1. Run the script;
    2. Enter the lidar model number, IP, and port;
    3. Enter the command code (A1);
    4. Files will be saved in the output folder under the script directory;
JT128 PTC command 0xA1 freeze frame acquisition

4.2 4.2 Web / LidarUtilities Acquisition​

4.2.1 4.2.1 Web Acquisition: AT128 as an Example​

  • Steps (acquire freeze frame):

    1. Enter the lidar IP in the browser address bar;
    2. Go to the Fault Message page in the top navigation bar;
    3. Select and copy the freeze frame content;
AT128 web Fault Message freeze frame page
  • Steps (acquire Log):

    1. Enter the lidar IP in the browser address bar;
    2. Go to the Log page in the top navigation bar;
    3. Click Download ALL to download;
AT128 web Log download page

4.2.2 4.2.2 LidarUtilities Acquisition: OT128 as an Example​

  • Steps (acquire freeze frame):

    1. Connect LU to the lidar (select the model at the top, enter the source IP, and click Connect);
    2. Click Log in the left navigation;
    3. Click Download next to Freeze Frames;
    4. A save dialog pops up automatically; choose the path;
LidarUtilities OT128 freeze frame download
  • Steps (acquire Log):

    1. Connect LU to the lidar (select the model at the top, enter the source IP, and click Connect);
    2. Click Log in the left navigation;
    3. Click Download next to Operation Log;
    4. A save dialog pops up automatically; choose the path;
LidarUtilities OT128 Operation Log download