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.
Caution
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
Trigger Source
default: undefinedallowed values:Moku:Lab ProbeA, ProbeB, External Moku:Go ProbeA, ProbeB Moku:Pro ProbeA, ProbeB, ProbeC, ProbeD, External Moku:Delta ProbeA, ProbeB, ProbeC, ProbeD, External
number
Trigger level
default: 0allowed values:-5 to 5units: V string
Optional file name prefix
default: "" string
Optional comments to be included
default: "" string
Acquisition mode
default: Normalallowed values:Normal, Precision, DeepMemory, PeakDetect integer
Acquisition rate
default: undefined integer
Delay the logging session by 'n' seconds
default: 0units: Seconds boolean
Disable all implicit conversions and coercions.
default: true# Examples
# Sample response
{
"acquisition_mode": "Normal",
"comments": "",
"duration": 10,
"rate": 1000.0,
"file_name": "MokuDigitalFilterBoxData_20220301_135057.li",
"file_name_prefix": "MokuDataLoggerData"
}
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8