Data streaming / conversion on Raspberry Pi

I was using the stream_to_file function to acquire phasemeter data at 1.9 kS/s over two minutes. While trying to set up automation with a Raspberry Pi, I encountered an issue: mokucli was not available for raspberry pi architecture. Since this limits access to all stream functions, I would like to know if there’s a possible workaround. Perhaps by logging the data to the internal memory of the Moku and using its conversion software to export the data as a CSV file back to the Raspberry Pi? I haven’t yet found the right commands to do this, so any help would be much appreciated. It doesn’t matter if the data reaches the Raspberry Pi as a CSV file or just as a variable in the Python environment, but based on the documentation, I couldn’t figure out how to achieve this without mokucli. Any assistance would be greatly appreciated.

Best,
Robin

Hi Robin,
We do not fully support the API over RaspberryPi as mokucli is not currently ARM-compatible. Most functionality works, except for streaming, file transfer, and converting from .li to csv, npy, mat or hdf5. I’ll flag this as a feature request! In the meantime, you can download the .li file using the curl commands you can find here: Moku API | download_file