Datalogger instrument not working on Moku Matlab 3.3.2

It seems like there is an issue with the latest release of the Moku Matlab API 3.3.2. I also updated the Moku CLI to the latest version 2.3.0. When trying to use the Datalogger instrument, I get the following message:

Error using check_mokucli_version (line 48)
Cannot find mokucli 2.2.1 on system PATH or MOKU_CLI_PATH
download the latest version of CLI from
Utilities - Liquid Instruments

However, when I downgrade to the Moku CLI 2.2.1, the error message is different. In this case the command

data = m.get_stream_data();

results in an empty array, while before updating to the latest Matlab API it was an array that had data.time, data.ch1, and data.ch2.

Note that I am able to successfully use the Oscilloscope instrument of the Matlab API. My guess is because it is not using the Moku CLI.

Hi @azeytunyan,

Thanks for bringing this to our attention, I’ve just written a fix for this and it’s pushed to MATLAB now, you can now update your MATLAB package from the Toolbox Add-On Manager to the 3.3.3 package to fix this issue.

Thanks for your patience!

1 Like

Yes, your fix worked. Thank you!

1 Like