資料介紹

Table of Contents
IIO Oscilloscope
About
The ADI IIO Oscilloscope is a cross platform GUI application, which demonstrates how to interface different evaluation boards from within a Linux system. The application supports plotting of the captured data in four different modes (time domain, frequency domain, constellation and cross-correlation). The application also allows to view and modify several settings of the evaluation board's devices.
Installation
Download IIO-Oscilloscope
Latest releases (goto this page to download the file):
Historic releases:
- IIO Oscilloscope for Windows - v0.6
- Download: adi-osc-master-setup.exe
- IIO Oscilloscope for Windows - v0.5
- Download: adi-osc-master-setup.exe
- IIO Oscilloscope for Windows - v0.3-2015_R2
- Download: adi-osc-2015_R2-setup.exe
- IIO Oscilloscope for Windows - v0.2-2015_R1
- Download: adi-osc-2015_R1-setup.exe
- IIO Oscilloscope (OSC) for Win32 & Win64 (2014_R2 Alpha Pre-Release)
- Download: adi-osc-setup.exe
Linux
For building on the target, we recommend using the update scripts. This is a tried/proven method that does everything in a quick script.
To build on a host, do not use the script, you must:
- make sure the following libraries are installed. This list is maintained in the
adi_update_tools.shshell script, and can be copied/pasted to most Debian based distributions. For others - make sure they are installed, or the below steps will not work. If you are not sure how to do this - consult your distribution documentation. file: adi_update_tools.sh> apt-get -y install libglib2.0-dev libgtk2.0-dev libgtkdatabox-dev libmatio-dev libfftw3-dev libxml2 libxml2-dev bison flex libavahi-common-dev libavahi-client-dev libcurl4-openssl-dev libjansson-dev cmake libaio-dev libserialport-dev
- build and install the libiio library, by following these instructions. Make sure you do the final
make install. - build and install the libad9361-iio library, by following these instructions.
- download the source
> git clone https://github.com/analogdevicesinc/iio-oscilloscope.git > cd iio-oscilloscope > git checkout origin/master
Or, download a zip, and uncompress it:rgetz@pinky:~$ wget https://github.com/analogdevicesinc/iio-oscilloscope/archive/master.zip rgetz@pinky:~$ unzip master.zip rgetz@pinky:~/iio-oscilloscope$ cd iio-oscilloscope
- and run `make` and `make install`. If you did not do a
make installof the libiio, the libiio install location needs to be set in your path ie: (PATH=/usr/lib:$PATH“) or else an error “Package libiio not found..” will occur.rgetz@pinky:~/iio-oscilloscope$ mkdir build && cd build rgetz@pinky:~/iio-oscilloscope$ cmake ../ && make -j $(nproc) rgetz@pinky:~/iio-oscilloscope$ sudo make install
- if you don't want to do a
make install(sometimes I don't), you will need to make sure that the most recently built shared libraries can be found, by setting the LD_LIBRARY_PATH environmental variable.rgetz@pinky:~/iio-oscilloscope$ export LD_LIBRARY_PATH=./
otherwise you may get an error like this:rgetz@pinky:~/iio-oscilloscope$ ./osc ./osc: error while loading shared libraries: libosc.so: cannot open shared object file: No such file or directory
Or, worse case, when you are debugging things, you will see your modified source code, but it will be running/executing the older shared shared object which was loaded (since it didn't find things in the library path).
macOS
For macOS install libiio and libad9361 from source or using pkg's on the associated release pages. If you are using the pkg's make the version used by libad9361 is the same as the release of libiio you download.
Then using brew install IIO-Scope:
brew install --HEAD tfcollins/homebrew-formulae/i-i-o-oscilloscope
User guide
Launching the application
Running Local
The application can run locally which means it runs on the same platform where your device is connected.
To start the IIO Oscilloscope open up the start menu of your system and search for “IIO Oscilloscope”. E.g. if you are using a Ubuntu Linux system move your mouse cursor to the left side of your screen and “Dash home” button and type “IIO Oscilloscope” into the search box.
Running Remote
The application can be used to connect to another platform that has a connected device in order to configure the device and read data from it. You can connect in 3 different ways:
- Manually:
This specifies any shell prompt running on the host or target - Run IIO Oscilloscope in remote mode
> export OSC_REMOTE=IP address of the remote platform (old) > export IIOD_REMOTE=IP address of the remote platform (new) > osc
The application can be used to connect to another platform that runs no-OS software: https://wiki.analog.com/resources/tools-software/no-os-software/iio
Using the application
Main Window
Each plugin (or tab) can be detached from the main window simply by clicking on the button placed on the right side of the name of the plugin. Close the detached window to attach the plugin back to the main window.
The Main Window is designed to display a configuration panel (plugin) for each device recognized by the system. Additional plugins will be loaded for device debugging and monitoring purposes such as:
DMM Tab/Plugin
The DMM Plugin: The Digital Multimeter continuously displays device specific data once the start button is activated.
- Device tab: Displays the list of all available devices.
- Active channels tab:Displays the list of channels that belong to the enabled devices. All channels can be enabled simultaneously by using the All Channels button.
- Right side tab: Displays data readings of the enabled channels in Active channels tab.
Debug Tab/Plugin
Debug Plugin: Is a tool for device debugging. Since “normal” users should not be doing this, features on this tab may not work unless you have started the osc application as root (try sudo osc in a terminal).
- Device Selection: Sets the active device. Once a device is selected any other information displayed in the plugin is related to this particular device.
- IIO Device Attributes: Allows Read/Write operation for the attributes of a device.
- Register: Provides low level access to the registers of the device.
- Detailed Register Map: When enabled it displays a graphical representation of a register and groups the bits by their functionality. When disabled the newly displayed option (Register Map Type) allows the selection of the register map to be used. SPI registers refer to the internal registers of the device while the AXI Core registers belong to the HDL core associated with the device.
- Enable AutoRead: When enabled it allows the register to be read automatically as the register address changes.
- Address: The address of the register.
- Value: The value of the register at the given address.
Hardware Specific Tab/Plugins
There may be hardware specific plugins/tabs, specific to the platform you are running on. Here are a few:
Capture Window
The Capture Window is where device data is displayed.
- Capture Window Settings
- Plot Title: Click Edit→Plot Title to
- Show Settings: Click View→Show Settings to
- Menu (Along top of the capture/plot window).
- File
- Save As : Saves data to file.
- Quit : Close the capture/plot window
- Edit
- Plot Title : Change the name of the window.
- View
- Show Settings : show/hide all settings in the left panel and allow the plot to fill the entire window.
- Full Screen : Will make the window full screen.
- Settings
- Device list: Lists all available ADCs and the corresponding channels. It allows selecting the channels to be displayed.
- Plot type
- Time domain: Plots the signal in the time domain. Displays the raw samples.
- Sample count: Selects the number of samples for time domain, constellation and cross-correlation plotting
- Graph Type: Selects the type of all graphs: lines or dots.
- Frequency domain: Plots the signal in the frequency domain. Performs a FFT on the signal and displays it.
- FFT size: Selects the size of the FFT for frequency domain plotting
- FFT Average: Selects the average weight to be applied to the FFT samples.
- PWR Offset: Selects the offset of the FFT graph.
- Constellation: Plots the signal as a constellation plot. The I-channel will be plotted on the X-axis and the Q-channel on the Y-axis.
- Sample count: Selects the number of samples for time domain, constellation and cross-correlation plotting
- Graph Type: Selects the type of all graphs: lines or dots.
- Cross Correlation: Plots the signal as a cross-correlation plot.
- Sample count: Selects the number of samples for time domain, constellation and cross-correlation plotting
- Graph Type: Selects the type of all graphs: lines or dots.
- Info
- Markers : Displays marker measurements.
- Devices : Displays Device info (sample rate)
- Plot Options/Icons (along top of window)
- Capture/stop : Starts or stops the data capture.
- Zoom In : Zooms in on a region of the plot.
- Zoom Out : Zooms out from a region of the plot.
- AutoZoom : Zooms automatically for the signal to fit the screen.
- Save As : Saves data to file.
- FullScreen : Enters/leaves fullscreen.
- Auto scale : When enabled the visible area will automatically be re-scaled to fit the entire plot.
- Show grid : Shows or hides the grid in the plot window.
- Y Max : Adjusts the upper limit of the vertical axis when Auto scale is disabled.
- Y Min : Adjusts the lower limit of the vertical axis when Auto scale is disabled.
- New Plot : Creates a new plot of the same type.
Activating Markers
Markers are used for plot data measurement in when looking in the frequency domain or cross correlations. To activate the markers right click on the plot and select from the marker menu the type of marker you want to enable. Make sure the capture process is running and the appropriate domain is selected in order to enable the markers properly. The following types of markers are available:
- FFT domain (1 channel enabled): Peak, Fixed and Single Tone markers.
- FFT domain (2 channels enabled): Peak, Fixed, Single Tone and Image markers.
- Constellation: Peak marker.
The enabling of a marker will display a set of 5 markers by default. You can add more markers by selecting Add Marker from the marker menu and remove some by selection Remove Maker.
Fixed markers are designed to have their position moved by the user. Once the fixed markers are visible on the plot right click on the marker symbol and while holding the right button pressed move the mouse to the desired location on the plot and release the right button.
To disable the markers select Markers Off from the marker menu.
Saving Captured Data
Once the data is captured, it can be saved using one of the following formats:
- Agilent VSA
- .csv
- .mat
- .png
Click on File→Save As to open the dialog needed to save the data.
Channel Settings
- Simple math operation can be applied to the channel data. Right click on the name of a channel listed in the Device list and select Math Settings to open the menu with the math operations.
- The graph color associated with the channel can be modified. Right click on the name of the channel and select Color Settings to open a color selection panel that will allow you to pick the desired color.
The settings can be applied only in Time domain.
Trigger settings
In time domain, it is possible to select a capture channel as the trigger source of the oscilloscope. To do so, right-click on the name of the device used for capture, and select Trigger settings. The pop-up window that will open will allow you to configure the channel used for the trigger, as well as the trigger level and edge.
Provided Waveforms
Several waveforms are provided with the application for demonstration purposes, which can be loaded into different devices. However, these are generally not meant for transceiver characterization or demodulation. If you want to do such tasks, we would recommend creation of your own waveforms from tools such as MATLAB.
Source code
Files
The source code for the entire application is at github. You can ask questions about it on the EngineerZone.
Internals
If you want to make your own plugin, please refer to the Internals page.
More information
掃碼添加小助手
加入工程師交流群
- AD5449 IIO DAC Linux驅(qū)動程序
- AD5380 IIO多通道Linux驅(qū)動程序DAC
- AD7291 IIO ADC Linux驅(qū)動程序
- AD5421 IIO DAC Linux驅(qū)動程序
- AD5360 IIO多通道Linux驅(qū)動程序DAC
- AD7303 IIO DAC Linux驅(qū)動程序
- AD5446 IIO DAC Linux驅(qū)動程序
- IIO單通道串行ADC Linux驅(qū)動程序
- AD7298 IIO多通道ADC Linux漂流器
- AD9834 IIO直接數(shù)字合成Linux驅(qū)動程序
- AD9832 IIO直接數(shù)字合成Linux驅(qū)動程序
- AD7998 IIO ADC Linux驅(qū)動程序
- AD7887 IIO ADC Linux驅(qū)動程序
- AD5933 IIO阻抗轉(zhuǎn)換器和網(wǎng)絡(luò)分析儀Linux驅(qū)動程序
- AD7606 mbed IIO應(yīng)用程序
- 示波器的使用入門 2k次閱讀
- 單蹤示波器和雙蹤示波器的區(qū)別 3.2k次閱讀
- 非隔離示波器與隔離示波器的區(qū)別 2.8k次閱讀
- 模擬示波器和數(shù)字示波器的區(qū)別 5k次閱讀
- 混合示波器與數(shù)字示波器的區(qū)別 2.1k次閱讀
- 數(shù)字示波器和模擬示波器的區(qū)別 3.1k次閱讀
- 示波器探頭什么意思 1.3k次閱讀
- 淺談泰克示波器鮮為人知的10個特異功能 5k次閱讀
- 示波器應(yīng)該如何使用示波器的使用方法詳細介紹 7.4w次閱讀
- 示波器帶寬是什么_示波器帶寬如何選擇 3.4w次閱讀
- 示波器探頭是什么_示波器探頭原理_示波器探頭的使用 1.9w次閱讀
- 示波器怎樣使用_示波器選用_示波器怎么測量 6.7k次閱讀
- 什么是示波器?示波器的使用方法,示波器的工作原理 6.6k次閱讀
- 數(shù)字示波器的作用 示波器頻率計算方法 3.5w次閱讀
- 模擬示波器與數(shù)字示波器的區(qū)別 8.4k次閱讀
下載排行
本周
- 1新一代網(wǎng)絡(luò)可視化(NPB 2.0)
- 3.40 MB | 1次下載 | 免費
- 2MDD品牌三極管MMBT3906數(shù)據(jù)手冊
- 2.33 MB | 次下載 | 免費
- 3MDD品牌三極管S9012數(shù)據(jù)手冊
- 2.62 MB | 次下載 | 免費
- 4聯(lián)想flex2-14D/15D說明書
- 4.92 MB | 次下載 | 免費
- 5收音環(huán)繞擴音機 AVR-1507手冊
- 2.50 MB | 次下載 | 免費
- 624Pin Type-C連接器設(shè)計報告
- 1.06 MB | 次下載 | 免費
- 7MS1000TA 超聲波測量模擬前端芯片技術(shù)手冊
- 0.60 MB | 次下載 | 免費
- 8MS1022高精度時間測量(TDC)電路數(shù)據(jù)手冊
- 1.81 MB | 次下載 | 免費
本月
- 1愛華AIWA HS-J202維修手冊
- 3.34 MB | 37次下載 | 免費
- 2PC5502負載均流控制電路數(shù)據(jù)手冊
- 1.63 MB | 23次下載 | 免費
- 3NB-IoT芯片廠商的資料說明
- 0.31 MB | 22次下載 | 1 積分
- 4H110主板CPU PWM芯片ISL95858HRZ-T核心供電電路圖資料
- 0.63 MB | 6次下載 | 1 積分
- 5UWB653Pro USB口測距通信定位模塊規(guī)格書
- 838.47 KB | 5次下載 | 免費
- 6技嘉H110主板IT8628E_BX IO電路圖資料
- 2.61 MB | 4次下載 | 1 積分
- 7蘇泊爾DCL6907(即CHK-S007)單芯片電磁爐原理圖資料
- 0.04 MB | 4次下載 | 1 積分
- 8100W準諧振反激式恒流電源電路圖資料
- 0.09 MB | 2次下載 | 1 積分
總榜
- 1matlab軟件下載入口
- 未知 | 935137次下載 | 10 積分
- 2開源硬件-PMP21529.1-4 開關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計
- 1.48MB | 420064次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233089次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費下載
- 340992 | 191439次下載 | 10 積分
- 5十天學(xué)會AVR單片機與C語言視頻教程 下載
- 158M | 183353次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81602次下載 | 10 積分
- 7Keil工具MDK-Arm免費下載
- 0.02 MB | 73822次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65991次下載 | 10 積分
電子發(fā)燒友App





創(chuàng)作
發(fā)文章
發(fā)帖
提問
發(fā)資料
發(fā)視頻








上傳資料賺積分
評論