I am trying to run the matlab script below, but I get the error code 6.
m = MokuPhasemeter('192.168.xxx.xxx',true);
%%% Configure instrument to desired state
% start logging session and download file to local directory
m.start_logging('duration',10);
% Track the progress of data logging session
is_logging = true;
while is_logging
progress = m.logging_progress();
is_logging = progress.time_to_end > 1;
pause(1);
end
Full error message:
Error using Requests/parse_response (line 36)
An error occurred while starting the logging session (error code 6)
Error in Requests/http_post (line 128)
response = obj.parse_response(output, extras);
Error in MokuPhasemeter/start_logging (line 324)
response = obj.session.http_post(obj.formatString('slot%d/phasemeter/start_logging',
obj.slot_id), params);
Error in CheckIfLogs (line 5)
m.start_logging('duration',10);