Mokucli files commands

Two questions:
Can ‘mokucli file download’ be run on a file thats being used during an acquisition? Our users run long term tests that run overnight and they would like to periodically download the files and run post processing. will running the mokucli file download “take ownership” of the moku and disturb the moku app or worse disturb the data acquisition?

Same question for mokucli stream.

Hi @bbean ,
mokucli file download can be used on a file while the data is being logged and this will not interrupt the connection or the data acquisition. For mokucli stream I would recommend simply calling get_stream_data() in your script which will return a chunk of data from the stream. If you wanted to stream to a file you can use stream_to_file() but the file won’t be available to download until after the streaming has been completed.