Error in Data Streaming from Laser Lock Box

Moku model:Pro
Operating system: Windows 11 OS build 26100.3476
Software version: 3.3.2.2 firmware 601

Hello,

I am attempting to stream signals using the datalogger built in to the Laser Lock Box, as a part of a MiM configuration. I can not use the standalone DataLogger instrument, as the other slots are occupied with other instruments for my application. I am using the most recent Matlab package (3.3.3) to interface with the device. While I can begin a streaming session with the line

“llb.start_streaming(‘duration’, 10);”

and verify streaming is taking place with the line

“llb.get_stream_status();”

attempting to get the stream data with line

“data = llb.get_stream_data();”

returns the error message:

"Dot indexing is not supported for variables of this type.

Error in MokuStreamInstrument/get_stream_data (line 126)
if obj.tcpClient.NumBytesAvailable > 0"

I encounter the same error when attempting to run the lock_in_amplifier_streaming.m example script. I can still use the llb.get_data(); function to read signals, but how can I use the built-in data logger to stream data?

Thanks for the help.

Hello @T_Hinds ,
Thank you for reaching out, and I’m very sorry you are dealing with this issue. This seems to be a bug specifically with streaming in Multi-instrument mode using MATLAB APIs. Our dev team is aware of this problem and working on a fix. In the meantime, the best workaround is to log the data to the Moku instead of streaming, and then download and process the data after. This problem doesn’t seem to be affecting the Python APIs so using Python is also another option. I hope this helps!

1 Like