start_logging
Start the data logging session to file.When successful, returns the log file name and the configuration the session is requested with.
Log files can be downloaded to local machine using download_files.
Caution
It is recommended to track the progress of data logging session before relinquishing the ownership 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: "" integer
Delay the logging session by 'n' seconds
default: 0units: Seconds string
Acquisition mode
default: Normalallowed values:Normal, Precision, DeepMemory, PeakDetect integer
Acquisition rate
default: undefinedunits: Hz# Examples
# Sample response
{
"acquisition_mode": "Normal",
"comments": "",
"duration": 10,
"file_name": "MokuPIDControllerData_20220408_141414.li",
"rate": 1000.0
}
1
2
3
4
5
6
7
2
3
4
5
6
7