How do I access Moku:Pro's internal SSD ?
How do I download files from Moku:Pro ?
Many of the Moku:Pro instruments, for example the Datalogger, Lock-in Amplifier, Digital Filter Box and PID Controller integrate the ability to log data to the Moku:Pro's internal SSD storage.
You can access a list of Moku datafile at
<moku.ip.address>/api/ssd/list
and then downloaded by :
<moku.ip.address>/api/ssd/download/<filename>
where <moku.ip.address> is the IP address of the Moku:Pro.
Example cURL is shown below and this can also be accessed via a web browser
$ curl http://10.1.111.34/api/ssd/list {"success":true,"data":["MokuDataLoggerData_20220114_112454.li","OP_20220119_124251.li","OPTrain_20220119_133235.li","OP_20220119_124052.li","lost+found","OP_20220119_123119.li","OP_20220119_122719.li","MokuPhasemeterData_20210927_132649.li","OP_20220119_123419.li","OP_20220119_124452.li","OP_20220119_123720.li","MokuDataLoggerData_20220114_114839.li"],"code":null,"messages":null} $ curl http://10.1.111.34/api/ssd/download/MokuDataLoggerData_20220114_112454.li -o Datalogger.li
Further information on accessing the Moku:Pro's internal SSD is here.
Learn more about Moku APIs in general at APIs