Post Go back to editing

Error trying to read data from the CN0549 through Cora Z7 to matlab.

Thread Summary

The user encountered an error 'Failed to find device: ltc2308' when streaming accel data from CN0549 through Cora Z7 to MATLAB. The solution involved setting static IPs within the same subnet for both boards and the laptop. The user also asked about connecting two accelerometers to MATLAB, which is possible by assigning different IP addresses to each board.
AI Generated Content
Category: Software
Product Number: ADXL1002
Software Version: Matlab r2020a

Hi everyone,

I'm trying to stream accel data from CN0549 through Cora Z7 to matlab in order to train a machine learning model for predictive maintenance, following this guideline: https://wiki.analog.com/resources/eval/user-guides/circuits-from-the-lab/cn0549/matlab_example ; I've installed the libiio library, the Analog Devices Sensor Toolbox and the Xilinx Zynq based radio (if this is required do I need to also set it up)  as seen on the left side of the attached picture 'Current Folder'.

But when I run the code provided: https://github.com/analogdevicesinc/SensorToolbox/blob/cn0540/sensor_examples/cn0549.m I get an error on line 13,

>> Code_data_streaming
Error using matlabshared.libiio.base/cstatusid
Failed to find device: ltc2308.

Error in matlabshared.libiio.base/getDev

Error in adi.CN0540Base/setupInit (line 212)
obj.ltc2308 = getDev(obj, 'ltc2308');

Error in adi.common.RxTx/configureChanBuffers (line 214)
setupInit(obj);

Error in matlabshared.libiio.base/setupImpl

Error in adi.common.RxTx/setupImpl (line 116)
setupImpl@matlabshared.libiio.base(obj);

Error in Code_data_streaming (line 13)
data = xl();

So my question is: Have I made a mistake in the libraries and toolboxes that I have installed resulting in this error

With Respect, 

p.s. Happy new year!

Thread Notes