start_logging
Start the data logging session to file.Returns the computed name and full path of the log file. This can be used later when downloading the file.
Log files can be downloaded to local machine using download_files.
Tip
To ensure a complete data logging session, it is recommended to track the progress using logging_progress.
Parameters
integer
Duration to log for
default: 60units: Seconds string
Optional file name prefix
default: "" string
Optional comments to be included
default: "" integer
Delay the logging session by 'n' seconds
default: 0units: Seconds string
Acquisition speed
default: undefinedallowed values:Moku:Lab 30Hz, 119Hz, 477Hz, 1.9kHz, 15.2kHz Moku:Go 30Hz, 119Hz, 477Hz, 1.9kHz, 15.2kHz, 122kHz Moku:Pro 37Hz, 150Hz, 596Hz, 2.4kHz, 19.1kHz, 152kHz Moku:Delta 37Hz, 150Hz, 596Hz, 2.4kHz, 19.1kHz, 152kHz
boolean
Disable all implicit conversions and coercions.
default: true# Examples
# Sample response
{
"Save to": 2,
"Start": 0,
"comments": "",
"duration": 10,
"rate": 1000.0,
"file_name": "MokuPhasemeterData_20220301_135057.li",
"file_name_prefix": "MokuDataLoggerData",
"location": "ssd"
}
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10