This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:tools-software:no-os-software:iio [27 Apr 2021 13:51] – [BUILD PROJECT WITH IIO SUPPORT] Ramona Alexandra Nechita | resources:tools-software:no-os-software:iio [14 Nov 2023 15:25] (current) – tinyiiod -> iiod Darius B | ||
---|---|---|---|
Line 4: | Line 4: | ||
under IIO headline. | under IIO headline. | ||
====== BUILD PROJECT WITH IIO SUPPORT ====== | ====== BUILD PROJECT WITH IIO SUPPORT ====== | ||
- | Go to no-OS | + | To build project with no-OS IIO support go to the desired |
- | To build project with no-OS IIO support go to no-OS folder and do: | + | |
- | '' | + | '' |
- | Then go to the project “/ | + | '' |
- | + | ||
- | '' | + | |
- | + | ||
- | '' | + | |
Depending on the project and hardware used, the platform might have to be specified inside the Makefile in the project folder, or from command line: | Depending on the project and hardware used, the platform might have to be specified inside the Makefile in the project folder, or from command line: | ||
Line 19: | Line 14: | ||
'' | '' | ||
- | '' | + | '' |
For more information about building projects, go to: [[: | For more information about building projects, go to: [[: | ||
Line 29: | Line 24: | ||
<hidden Linux (Click to expand)> | <hidden Linux (Click to expand)> | ||
'' | '' | ||
- | <note important> | + | <note important> |
'' | '' | ||
</ | </ | ||
Line 39: | Line 34: | ||
'' | '' | ||
- | ===== IIO-Oscilloscope client | + | ===== Connecting to Clients |
- | IIO-Oscilloscope | + | After building and running a no-Os project, the data can be displayed, processed and visualized through a series of clients, such as command line tools, MATLAB® and Simulink®, |
+ | |||
+ | For simply displaying or storing information regarding the devices, [[: | ||
+ | |||
+ | Here is an example on how to use '' | ||
+ | * For serial context '' | ||
+ | * For network '' | ||
+ | |||
+ | |||
+ | For a graphical user interface and plots IIO-Oscilloscope is one possible client. For more information about IIO Oscilloscope go to: | ||
https:// | https:// | ||
- | + | ||
+ | Connecting to IIO-Oscilloscope with the serial context: | ||
{{: | {{: | ||
- | ===== Python device over iio client ===== | + | And with network: |
- | https:// | + | {{:resources: |
- | https:// | + | Once connected, two windows should pop up. |
- | ===== Helper utilities as client ===== | + | |
- | Helper utilities from Libiio can be used also: | ||
- | '' | + | {{: |
+ | |||
+ | {{: | ||
+ | |||
+ | ===== Python device over iio client ===== | ||
+ | |||
+ | A python abstraction module for ADI hardware also exists, to make them easier to use. The supported devices can be found at | ||
+ | https:// | ||
- | For more details about libiio helper utilities please visit following link: | ||
- | https:// | ||
====== IIO DEMO APPLICATION ====== | ====== IIO DEMO APPLICATION ====== | ||
A demo iio application can be found in the following location: | A demo iio application can be found in the following location: | ||
Line 90: | Line 99: | ||
====== SOFTWARE ARCHITECTURE ====== | ====== SOFTWARE ARCHITECTURE ====== | ||
- | The relations between modules can be seen in the following figure. Doted lines represent function callbacks. | + | The relations between modules can be seen in the following figure. |
- | + | ||
- | {{: | + | |
- | + | ||
- | An iio_app instance is always necessary, since it instantiates libtinyiiod library, the rest of iio modules (iio_demo) are optional, each one registering a new device to be checked when a command is received. | + | |
- | + | ||
- | ====== LIBTINYIIOD ====== | + | |
- | Is a library to ease the development of software interfacing I/O (IIO) devices. The library abstracts the low-level details of hardware, and provides a simple yet complete programming interface that can be used for advanced projects. | + | |
- | {{: | + | {{: |
- | https:// | ||