logging_progress

Returns current logging state.

This method returns a dictionary to track the progress of data logging session. Always call this method in a loop until a desired result is reached.

Log files can be downloaded to local machine using download_files

Refer to,

  • running → Boolean of running status
  • complete → Boolean of completion status
  • message → Message of waiting for delay or trigger signal
  • time_remaining → Estimated time remaining
  • samples_logged → Number of samples logged to file
  • file_name → File name of logged file on the device

TIP

INFO To convert .li binary formatted log files, use liconverter windows app or mokucli convert

# Examples

# Sample response

{
    "complete": false,
    "file_name": "MokuPhasemeterData_20260529_130504.li",
    "message": "Logging in progress, 6 seconds remaining",
    "running": true,
    "samples_logged": 55294,
    "time_remaining": 6,
    "time_to_start": 0
}
1
2
3
4
5
6
7
8
9