Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
resources:eval:user-guides:circuits-from-the-lab:cn0549:matlab_example [30 Oct 2020 17:03] – [System Block Diagram] Travis Collinsresources:eval:user-guides:circuits-from-the-lab:cn0549:matlab_example [14 Jan 2021 05:12] (current) – user interwiki links Robin Getz
Line 8: Line 8:
  
 <WRAP center round important 60%> <WRAP center round important 60%>
-This user guide page assumes that you have the complete CN0549 system put together.  This includes both hardware and software setup.  If you have not completed this step, please refer back to the [[https://wiki.analog.com/resources/eval/user-guides/circuits-from-the-lab/cn0549|CN0549 user guide]] on how to get setup.+This user guide page assumes that you have the complete CN0549 system put together.  This includes both hardware and software setup.  If you have not completed this step, please refer back to the [[/resources/eval/user-guides/circuits-from-the-lab/cn0549|CN0549 user guide]] on how to get setup.
 </WRAP> </WRAP>
    
Line 31: Line 31:
 ===== System Setup ===== ===== System Setup =====
  
-  - Ensure your CN0549 System is connected together.  If you need to setup the CN0549, please refer back to the [[https://wiki.analog.com/resources/eval/user-guides/circuits-from-the-lab/cn0549|user guide]].\\ <WRAP center round tip 80%>+  - Ensure your CN0549 System is connected together.  If you need to setup the CN0549, please refer back to the [[/resources/eval/user-guides/circuits-from-the-lab/cn0549|user guide]].\\ <WRAP center round tip 80%>
 The user guide shows the USB OTG connector and the HDMI cable installed, but those two steps will not be needed here since we are streaming data over the network into the laptop.</WRAP> The user guide shows the USB OTG connector and the HDMI cable installed, but those two steps will not be needed here since we are streaming data over the network into the laptop.</WRAP>
   - Connect one end of the Ethernet cable into the DE10-Nano, and the other end of the Ethernet cable into a router or other network connection.   - Connect one end of the Ethernet cable into the DE10-Nano, and the other end of the Ethernet cable into a router or other network connection.
Line 64: Line 64:
 Data streaming and device control are provided through the specialized classes called [[mw>help/matlab/matlab_prog/what-are-system-objects.html|MATLAB system objects]] in [[resources/tools-software/sensor-toolbox|ADI's Sensor Toolbox]]. Devices or sensors which connect through the CN0540, such as the CN0549, will share a common base class called [[https://github.com/analogdevicesinc/SensorToolbox/blob/cn0540/%2Badi/CN0540Base.m|adi.CN0540Base.m]]. However, each specific sensor will have its own class that will contain documentation, methods, and properties specific to it. Therefore, end-users should always use the python class associated with the sensor and not the CN0540. Data streaming and device control are provided through the specialized classes called [[mw>help/matlab/matlab_prog/what-are-system-objects.html|MATLAB system objects]] in [[resources/tools-software/sensor-toolbox|ADI's Sensor Toolbox]]. Devices or sensors which connect through the CN0540, such as the CN0549, will share a common base class called [[https://github.com/analogdevicesinc/SensorToolbox/blob/cn0540/%2Badi/CN0540Base.m|adi.CN0540Base.m]]. However, each specific sensor will have its own class that will contain documentation, methods, and properties specific to it. Therefore, end-users should always use the python class associated with the sensor and not the CN0540.
  
-Below is a basic example where we will talk to a CN0540 with CN0549 attached. This is done remotely from a host PC, but can be done locally on the board or through another backend. See the [[https://wiki.analog.com/resources/tools-software/linux-software/libiio|libiio doc for more information]]. This example can be downloaded from [[https://github.com/analogdevicesinc/SensorToolbox/blob/cn0540/sensor_examples/cn0549.m|GitHub directly]].+Below is a basic example where we will talk to a CN0540 with CN0549 attached. This is done remotely from a host PC, but can be done locally on the board or through another backend. See the [[/resources/tools-software/linux-software/libiio|libiio doc for more information]]. This example can be downloaded from [[https://github.com/analogdevicesinc/SensorToolbox/blob/cn0540/sensor_examples/cn0549.m|GitHub directly]].
  
 <code matlab> <code matlab>
resources/eval/user-guides/circuits-from-the-lab/cn0549/matlab_example.txt · Last modified: 14 Jan 2021 05:12 by Robin Getz