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

INFO

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

# Examples

# Sample response

{
   "complete":False,
   "file_name":"MokuDataLoggerData_20210603_101533.li",
   "running":True,
   "samples_logged":2238,
   "time_remaining":2
}
1
2
3
4
5
6
7