mirror of
git://projects.qi-hardware.com/nn-usb-fpga.git
synced 2025-04-08 16:07:28 +03:00
Adding Vm and Vrms measure for Scope example with basic signals
This commit is contained in:
parent
622f59856f
commit
07888ac4c4
Binary file not shown.
@ -2,204 +2,215 @@
|
||||
<qtcreator>
|
||||
<data>
|
||||
<variable>RunConfiguration0-Arguments</variable>
|
||||
<valuelist type="QVariantList" />
|
||||
<valuelist type="QVariantList"/>
|
||||
</data>
|
||||
<data>
|
||||
<variable>RunConfiguration0-BaseEnvironmentBase</variable>
|
||||
<value type="int">2</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>RunConfiguration0-Executable</variable>
|
||||
<value type="QString" ></value>
|
||||
<value type="QString">/home/juan64bits/Desktop/nn-usb-fpga/Examples/ADC/Scope-QT-src/ADC</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>RunConfiguration0-RunConfiguration.name</variable>
|
||||
<value type="QString" >Custom Executable</value>
|
||||
<value type="QString">Run /home/juan64bits/Desktop/nn-usb-fpga/Examples/ADC/Scope-QT-src/ADC</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>RunConfiguration0-UseTerminal</variable>
|
||||
<value type="bool" >false</value>
|
||||
<value type="bool">false</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>RunConfiguration0-UserEnvironmentChanges</variable>
|
||||
<valuelist type="QVariantList" />
|
||||
<valuelist type="QVariantList"/>
|
||||
</data>
|
||||
<data>
|
||||
<variable>RunConfiguration0-UserName</variable>
|
||||
<value type="QString" ></value>
|
||||
<value type="QString"></value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>RunConfiguration0-UserSetName</variable>
|
||||
<value type="bool" >false</value>
|
||||
<value type="bool">false</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>RunConfiguration0-WorkingDirectory</variable>
|
||||
<value type="QString" >$BUILDDIR</value>
|
||||
<value type="QString">$BUILDDIR</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>RunConfiguration0-type</variable>
|
||||
<value type="QString" >ProjectExplorer.CustomExecutableRunConfiguration</value>
|
||||
<value type="QString">ProjectExplorer.CustomExecutableRunConfiguration</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>activeRunConfiguration</variable>
|
||||
<value type="int" >0</value>
|
||||
<value type="int">0</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>activebuildconfiguration</variable>
|
||||
<value type="QString" >Debug</value>
|
||||
<value type="QString">Debug</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>buildConfiguration-Debug</variable>
|
||||
<valuemap type="QVariantMap" >
|
||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString" >Debug</value>
|
||||
<value key="QtVersionId" type="int" >2</value>
|
||||
<value key="addQDumper" type="" ></value>
|
||||
<valuemap type="QVariantMap">
|
||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Debug</value>
|
||||
<value key="QtVersionId" type="int">2</value>
|
||||
<value key="ToolChain" type="int">0</value>
|
||||
<value key="addQDumper" type=""></value>
|
||||
<value key="buildConfiguration" type="int">2</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>buildconfiguration-Debug-buildstep0</variable>
|
||||
<valuemap type="QVariantMap" >
|
||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString" >Debug</value>
|
||||
<valuelist key="abstractProcess.Environment" type="QVariantList" >
|
||||
<value type="QString" >DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-cTqMrTHqN2,guid=cb05698ea245dbdf49f1995a4bb51c63</value>
|
||||
<value type="QString" >DESKTOP_SESSION=gnome</value>
|
||||
<value type="QString" >DESKTOP_STARTUP_ID=</value>
|
||||
<value type="QString" >DISPLAY=:0.0</value>
|
||||
<value type="QString" >GDMSESSION=gnome</value>
|
||||
<value type="QString" >GDM_KEYBOARD_LAYOUT=es</value>
|
||||
<value type="QString" >GDM_LANG=en_US.UTF-8</value>
|
||||
<value type="QString" >GNOME_DESKTOP_SESSION_ID=this-is-deprecated</value>
|
||||
<value type="QString" >GNOME_KEYRING_PID=2296</value>
|
||||
<value type="QString" >GNOME_KEYRING_SOCKET=/tmp/keyring-Z9jTYs/socket</value>
|
||||
<value type="QString" >GTK_MODULES=canberra-gtk-module</value>
|
||||
<value type="QString" >GTK_RC_FILES=/etc/gtk/gtkrc:/home/juan64bits/.gtkrc-1.2-gnome2</value>
|
||||
<value type="QString" >HOME=/home/juan64bits</value>
|
||||
<value type="QString" >LANG=en_US.UTF-8</value>
|
||||
<value type="QString" >LANGUAGE=</value>
|
||||
<value type="QString" >LD_LIBRARY_PATH=/usr/lib/qtcreator:</value>
|
||||
<value type="QString" >LOGNAME=juan64bits</value>
|
||||
<value type="QString" >ORBIT_SOCKETDIR=/tmp/orbit-juan64bits</value>
|
||||
<value type="QString" >PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games</value>
|
||||
<value type="QString" >PWD=/home/juan64bits</value>
|
||||
<value type="QString" >QTDIR=/usr</value>
|
||||
<value type="QString" >SESSION_MANAGER=local/Maximus:@/tmp/.ICE-unix/2311,unix/Maximus:/tmp/.ICE-unix/2311</value>
|
||||
<value type="QString" >SHELL=/bin/bash</value>
|
||||
<value type="QString" >SHLVL=0</value>
|
||||
<value type="QString" >SPEECHD_PORT=7560</value>
|
||||
<value type="QString" >SSH_AGENT_PID=2357</value>
|
||||
<value type="QString" >SSH_AUTH_SOCK=/tmp/keyring-Z9jTYs/socket.ssh</value>
|
||||
<value type="QString" >USER=juan64bits</value>
|
||||
<value type="QString" >USERNAME=juan64bits</value>
|
||||
<value type="QString" >XAUTHORITY=/var/run/gdm/auth-for-juan64bits-TMPZko/database</value>
|
||||
<value type="QString" >XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/</value>
|
||||
<value type="QString" >XDG_SESSION_COOKIE=195688a1fd83f711af67c5214b6a489d-1270160483.283912-172210674</value>
|
||||
<valuemap type="QVariantMap">
|
||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Debug</value>
|
||||
<valuelist key="abstractProcess.Environment" type="QVariantList">
|
||||
<value type="QString">DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-5HpuZtJngG,guid=d589ba285c2689f6f9124a1b4bdf18d8</value>
|
||||
<value type="QString">DEFAULTS_PATH=/usr/share/gconf/gnome.default.path</value>
|
||||
<value type="QString">DESKTOP_SESSION=gnome</value>
|
||||
<value type="QString">DISPLAY=:0.0</value>
|
||||
<value type="QString">GDMSESSION=gnome</value>
|
||||
<value type="QString">GDM_KEYBOARD_LAYOUT=es</value>
|
||||
<value type="QString">GDM_LANG=en_US.utf8</value>
|
||||
<value type="QString">GNOME_DESKTOP_SESSION_ID=this-is-deprecated</value>
|
||||
<value type="QString">GNOME_KEYRING_CONTROL=/tmp/keyring-rcb57B</value>
|
||||
<value type="QString">GNOME_KEYRING_PID=1475</value>
|
||||
<value type="QString">GTK_MODULES=canberra-gtk-module</value>
|
||||
<value type="QString">HOME=/home/juan64bits</value>
|
||||
<value type="QString">LANG=en_US.utf8</value>
|
||||
<value type="QString">LANGUAGE=</value>
|
||||
<value type="QString">LD_LIBRARY_PATH=/usr/lib/qtcreator:</value>
|
||||
<value type="QString">LOGNAME=juan64bits</value>
|
||||
<value type="QString">MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path</value>
|
||||
<value type="QString">ORBIT_SOCKETDIR=/tmp/orbit-juan64bits</value>
|
||||
<value type="QString">PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games</value>
|
||||
<value type="QString">PWD=/home/juan64bits</value>
|
||||
<value type="QString">QTDIR=/usr/share/qt4</value>
|
||||
<value type="QString">SESSION_MANAGER=local/Maximus:@/tmp/.ICE-unix/1493,unix/Maximus:/tmp/.ICE-unix/1493</value>
|
||||
<value type="QString">SHELL=/bin/bash</value>
|
||||
<value type="QString">SPEECHD_PORT=7560</value>
|
||||
<value type="QString">SSH_AGENT_PID=1527</value>
|
||||
<value type="QString">SSH_AUTH_SOCK=/tmp/keyring-rcb57B/ssh</value>
|
||||
<value type="QString">USER=juan64bits</value>
|
||||
<value type="QString">USERNAME=juan64bits</value>
|
||||
<value type="QString">XAUTHORITY=/var/run/gdm/auth-for-juan64bits-ObiAwz/database</value>
|
||||
<value type="QString">XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome:/etc/xdg</value>
|
||||
<value type="QString">XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/</value>
|
||||
<value type="QString">XDG_SESSION_COOKIE=b9a7fbc4d869fc15bd6cdd474bcc9a28-1272912088.411459-1064788126</value>
|
||||
</valuelist>
|
||||
<valuelist key="abstractProcess.arguments" type="QVariantList" >
|
||||
<value type="QString" >/home/juan64bits/QT/ADC1/ADC1.pro</value>
|
||||
<value type="QString" >-spec</value>
|
||||
<value type="QString" >/usr/share/qt4/mkspecs/linux-g++</value>
|
||||
<value type="QString" >-r</value>
|
||||
<value type="QString" >CONFIG+=debug</value>
|
||||
<valuelist key="abstractProcess.arguments" type="QVariantList">
|
||||
<value type="QString">/home/juan64bits/Desktop/nn-usb-fpga/Examples/ADC/Scope-QT-src/ADC1.pro</value>
|
||||
<value type="QString">-spec</value>
|
||||
<value type="QString">linux-g++</value>
|
||||
<value type="QString">-r</value>
|
||||
<value type="QString">CONFIG+=debug</value>
|
||||
</valuelist>
|
||||
<value key="abstractProcess.command" type="QString" >/usr/bin/qmake-qt4</value>
|
||||
<value key="abstractProcess.enabled" type="bool" >false</value>
|
||||
<value key="abstractProcess.workingDirectory" type="QString" >/home/juan64bits/QT/ADC1</value>
|
||||
<value key="buildConfiguration" type="int" >2</value>
|
||||
<value key="abstractProcess.command" type="QString">/usr/bin/qmake-qt4</value>
|
||||
<value key="abstractProcess.enabled" type="bool">false</value>
|
||||
<value key="abstractProcess.workingDirectory" type="QString">/home/juan64bits/Desktop/nn-usb-fpga/Examples/ADC/Scope-QT-src</value>
|
||||
<value key="buildConfiguration" type=""></value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>buildconfiguration-Debug-buildstep1</variable>
|
||||
<valuemap type="QVariantMap" >
|
||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString" >Debug</value>
|
||||
<valuelist key="abstractProcess.Environment" type="QVariantList" >
|
||||
<value type="QString" >DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-cTqMrTHqN2,guid=cb05698ea245dbdf49f1995a4bb51c63</value>
|
||||
<value type="QString" >DESKTOP_SESSION=gnome</value>
|
||||
<value type="QString" >DESKTOP_STARTUP_ID=</value>
|
||||
<value type="QString" >DISPLAY=:0.0</value>
|
||||
<value type="QString" >GDMSESSION=gnome</value>
|
||||
<value type="QString" >GDM_KEYBOARD_LAYOUT=es</value>
|
||||
<value type="QString" >GDM_LANG=en_US.UTF-8</value>
|
||||
<value type="QString" >GNOME_DESKTOP_SESSION_ID=this-is-deprecated</value>
|
||||
<value type="QString" >GNOME_KEYRING_PID=2296</value>
|
||||
<value type="QString" >GNOME_KEYRING_SOCKET=/tmp/keyring-Z9jTYs/socket</value>
|
||||
<value type="QString" >GTK_MODULES=canberra-gtk-module</value>
|
||||
<value type="QString" >GTK_RC_FILES=/etc/gtk/gtkrc:/home/juan64bits/.gtkrc-1.2-gnome2</value>
|
||||
<value type="QString" >HOME=/home/juan64bits</value>
|
||||
<value type="QString" >LANG=en_US.UTF-8</value>
|
||||
<value type="QString" >LANGUAGE=</value>
|
||||
<value type="QString" >LD_LIBRARY_PATH=/usr/lib/qtcreator:</value>
|
||||
<value type="QString" >LOGNAME=juan64bits</value>
|
||||
<value type="QString" >ORBIT_SOCKETDIR=/tmp/orbit-juan64bits</value>
|
||||
<value type="QString" >PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games</value>
|
||||
<value type="QString" >PWD=/home/juan64bits</value>
|
||||
<value type="QString" >QTDIR=/usr</value>
|
||||
<value type="QString" >SESSION_MANAGER=local/Maximus:@/tmp/.ICE-unix/2311,unix/Maximus:/tmp/.ICE-unix/2311</value>
|
||||
<value type="QString" >SHELL=/bin/bash</value>
|
||||
<value type="QString" >SHLVL=0</value>
|
||||
<value type="QString" >SPEECHD_PORT=7560</value>
|
||||
<value type="QString" >SSH_AGENT_PID=2357</value>
|
||||
<value type="QString" >SSH_AUTH_SOCK=/tmp/keyring-Z9jTYs/socket.ssh</value>
|
||||
<value type="QString" >USER=juan64bits</value>
|
||||
<value type="QString" >USERNAME=juan64bits</value>
|
||||
<value type="QString" >XAUTHORITY=/var/run/gdm/auth-for-juan64bits-TMPZko/database</value>
|
||||
<value type="QString" >XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/</value>
|
||||
<value type="QString" >XDG_SESSION_COOKIE=195688a1fd83f711af67c5214b6a489d-1270160483.283912-172210674</value>
|
||||
<valuemap type="QVariantMap">
|
||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Debug</value>
|
||||
<valuelist key="abstractProcess.Environment" type="QVariantList">
|
||||
<value type="QString">DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-5HpuZtJngG,guid=d589ba285c2689f6f9124a1b4bdf18d8</value>
|
||||
<value type="QString">DEFAULTS_PATH=/usr/share/gconf/gnome.default.path</value>
|
||||
<value type="QString">DESKTOP_SESSION=gnome</value>
|
||||
<value type="QString">DISPLAY=:0.0</value>
|
||||
<value type="QString">GDMSESSION=gnome</value>
|
||||
<value type="QString">GDM_KEYBOARD_LAYOUT=es</value>
|
||||
<value type="QString">GDM_LANG=en_US.utf8</value>
|
||||
<value type="QString">GNOME_DESKTOP_SESSION_ID=this-is-deprecated</value>
|
||||
<value type="QString">GNOME_KEYRING_CONTROL=/tmp/keyring-rcb57B</value>
|
||||
<value type="QString">GNOME_KEYRING_PID=1475</value>
|
||||
<value type="QString">GTK_MODULES=canberra-gtk-module</value>
|
||||
<value type="QString">HOME=/home/juan64bits</value>
|
||||
<value type="QString">LANG=en_US.utf8</value>
|
||||
<value type="QString">LANGUAGE=</value>
|
||||
<value type="QString">LD_LIBRARY_PATH=/usr/lib/qtcreator:</value>
|
||||
<value type="QString">LOGNAME=juan64bits</value>
|
||||
<value type="QString">MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path</value>
|
||||
<value type="QString">ORBIT_SOCKETDIR=/tmp/orbit-juan64bits</value>
|
||||
<value type="QString">PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games</value>
|
||||
<value type="QString">PWD=/home/juan64bits</value>
|
||||
<value type="QString">QTDIR=/usr/share/qt4</value>
|
||||
<value type="QString">SESSION_MANAGER=local/Maximus:@/tmp/.ICE-unix/1493,unix/Maximus:/tmp/.ICE-unix/1493</value>
|
||||
<value type="QString">SHELL=/bin/bash</value>
|
||||
<value type="QString">SPEECHD_PORT=7560</value>
|
||||
<value type="QString">SSH_AGENT_PID=1527</value>
|
||||
<value type="QString">SSH_AUTH_SOCK=/tmp/keyring-rcb57B/ssh</value>
|
||||
<value type="QString">USER=juan64bits</value>
|
||||
<value type="QString">USERNAME=juan64bits</value>
|
||||
<value type="QString">XAUTHORITY=/var/run/gdm/auth-for-juan64bits-ObiAwz/database</value>
|
||||
<value type="QString">XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome:/etc/xdg</value>
|
||||
<value type="QString">XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/</value>
|
||||
<value type="QString">XDG_SESSION_COOKIE=b9a7fbc4d869fc15bd6cdd474bcc9a28-1272912088.411459-1064788126</value>
|
||||
</valuelist>
|
||||
<valuelist key="abstractProcess.arguments" type="QVariantList" >
|
||||
<value type="QString" >-w</value>
|
||||
<value key="abstractProcess.IgnoreReturnValue" type="bool">false</value>
|
||||
<valuelist key="abstractProcess.arguments" type="QVariantList">
|
||||
<value type="QString">-w</value>
|
||||
</valuelist>
|
||||
<value key="abstractProcess.command" type="QString" >/usr/bin/make</value>
|
||||
<value key="abstractProcess.enabled" type="bool" >true</value>
|
||||
<value key="abstractProcess.workingDirectory" type="QString" >/home/juan64bits/QT/ADC1</value>
|
||||
<value key="abstractProcess.command" type="QString">/usr/bin/make</value>
|
||||
<value key="abstractProcess.enabled" type="bool">true</value>
|
||||
<value key="abstractProcess.workingDirectory" type="QString">/home/juan64bits/Desktop/nn-usb-fpga/Examples/ADC/Scope-QT-src</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>buildconfiguration-Debug-cleanstep0</variable>
|
||||
<valuemap type="QVariantMap" >
|
||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString" >Debug</value>
|
||||
<valuemap type="QVariantMap">
|
||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Debug</value>
|
||||
<value key="cleanConfig" type="bool">true</value>
|
||||
<valuelist key="makeargs" type="QVariantList">
|
||||
<value type="QString">clean</value>
|
||||
</valuelist>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>buildconfigurations</variable>
|
||||
<valuelist type="QVariantList" >
|
||||
<value type="QString" >Debug</value>
|
||||
<valuelist type="QVariantList">
|
||||
<value type="QString">Debug</value>
|
||||
</valuelist>
|
||||
</data>
|
||||
<data>
|
||||
<variable>buildstep0</variable>
|
||||
<valuemap type="QVariantMap" >
|
||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString" ></value>
|
||||
<value key="mkspec" type="QString" ></value>
|
||||
<valuemap type="QVariantMap">
|
||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString"></value>
|
||||
<value key="mkspec" type="QString"></value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>buildstep1</variable>
|
||||
<valuemap type="QVariantMap" >
|
||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString" ></value>
|
||||
<valuemap type="QVariantMap">
|
||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString"></value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>buildsteps</variable>
|
||||
<valuelist type="QVariantList" >
|
||||
<value type="QString" >trolltech.qt4projectmanager.qmake</value>
|
||||
<value type="QString" >trolltech.qt4projectmanager.make</value>
|
||||
<valuelist type="QVariantList">
|
||||
<value type="QString">trolltech.qt4projectmanager.qmake</value>
|
||||
<value type="QString">trolltech.qt4projectmanager.make</value>
|
||||
</valuelist>
|
||||
</data>
|
||||
<data>
|
||||
<variable>cleanstep0</variable>
|
||||
<valuemap type="QVariantMap" >
|
||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString" ></value>
|
||||
<value key="clean" type="bool" >true</value>
|
||||
<valuemap type="QVariantMap">
|
||||
<value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString"></value>
|
||||
<value key="clean" type="bool">true</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>cleansteps</variable>
|
||||
<valuelist type="QVariantList" >
|
||||
<value type="QString" >trolltech.qt4projectmanager.make</value>
|
||||
<valuelist type="QVariantList">
|
||||
<value type="QString">trolltech.qt4projectmanager.make</value>
|
||||
</valuelist>
|
||||
</data>
|
||||
<data>
|
||||
<variable>defaultFileEncoding</variable>
|
||||
<value type="QByteArray" >System</value>
|
||||
<value type="QByteArray">System</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>project</variable>
|
||||
<valuemap type="QVariantMap" />
|
||||
<valuemap type="QVariantMap"/>
|
||||
</data>
|
||||
</qtcreator>
|
||||
|
BIN
Examples/ADC/Scope-QT-src/ADCw.o
Normal file
BIN
Examples/ADC/Scope-QT-src/ADCw.o
Normal file
Binary file not shown.
@ -1,9 +1,9 @@
|
||||
#############################################################################
|
||||
# Makefile for building: ADC
|
||||
# Generated by qmake (2.01a) (Qt 4.6.2) on: Wed Apr 14 21:04:10 2010
|
||||
# Generated by qmake (2.01a) (Qt 4.6.2) on: Mon May 3 17:58:03 2010
|
||||
# Project: ADC1.pro
|
||||
# Template: app
|
||||
# Command: /home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/bin/qmake -spec ../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-openwrt-g++ -unix -o Makefile ADC1.pro
|
||||
# Command: /home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/bin/qmake -spec /home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-openwrt-g++ -unix -o Makefile ADC1.pro
|
||||
#############################################################################
|
||||
|
||||
####### Compiler, tools and options
|
||||
@ -13,7 +13,7 @@ CXX = mipsel-openwrt-linux-uclibc-g++
|
||||
DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
|
||||
CFLAGS = -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/home/juan64bits/ebd/ECB/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include/freetype2 -I/home/juan64bits/ebd/ECB/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/juan64bits/ebd/ECB/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/juan64bits/ebd/ECB/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/include -I/home/juan64bits/ebd/ECB/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/include -O2 -Wall -W -D_REENTRANT $(DEFINES)
|
||||
CXXFLAGS = -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/home/juan64bits/ebd/ECB/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include/freetype2 -I/home/juan64bits/ebd/ECB/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/juan64bits/ebd/ECB/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/juan64bits/ebd/ECB/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/include -I/home/juan64bits/ebd/ECB/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/include -O2 -Wall -W -D_REENTRANT $(DEFINES)
|
||||
INCPATH = -I../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-openwrt-g++ -I. -I../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/include/QtCore -I../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/include/QtNetwork -I../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/include/QtGui -I../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/include -I. -I. -I.
|
||||
INCPATH = -I/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-openwrt-g++ -I. -I/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/include/QtCore -I/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/include/QtNetwork -I/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/include/QtGui -I/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/include -I. -I. -I.
|
||||
LINK = mipsel-openwrt-linux-uclibc-g++
|
||||
LFLAGS = -L/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/lib -L/home/juan64bits/ebd/ECB/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -L/home/juan64bits/ebd/ECB/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/lib -L/home/juan64bits/ebd/ECB/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib -L/home/juan64bits/ebd/ECB/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/lib -Wl,-rpath-link=/home/juan64bits/ebd/ECB/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -Wl,-O1
|
||||
LIBS = $(SUBLIBS) -L/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/lib -lQtGui -L/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/lib -L/home/juan64bits/ebd/ECB/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr//lib -ldirectfb -lfusion -ldirect -lQtNetwork -lQtCore -lpthread
|
||||
@ -58,25 +58,25 @@ OBJECTS = main.o \
|
||||
jz47xx_gpio.o \
|
||||
jz47xx_mmap.o \
|
||||
moc_mainwindow.o
|
||||
DIST = ../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/g++.conf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/unix.conf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/linux.conf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/qws.conf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/qt_functions.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/qt_config.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/exclusive_builds.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/default_pre.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/release.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/default_post.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/warn_on.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/qt.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/unix/thread.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/moc.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/resources.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/uic.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/yacc.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/lex.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/include_source_dir.prf \
|
||||
DIST = /home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/g++.conf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/unix.conf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/linux.conf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/qws.conf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/qt_functions.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/qt_config.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/exclusive_builds.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/default_pre.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/release.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/default_post.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/warn_on.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/qt.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/unix/thread.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/moc.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/resources.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/uic.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/yacc.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/lex.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/include_source_dir.prf \
|
||||
ADC1.pro
|
||||
QMAKE_TARGET = ADC
|
||||
DESTDIR =
|
||||
@ -109,53 +109,53 @@ all: Makefile $(TARGET)
|
||||
$(TARGET): ui_mainwindow.h $(OBJECTS)
|
||||
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
||||
|
||||
Makefile: ADC1.pro ../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-openwrt-g++/qmake.conf ../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/g++.conf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/unix.conf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/linux.conf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/qws.conf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/qt_functions.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/qt_config.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/exclusive_builds.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/default_pre.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/release.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/default_post.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/warn_on.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/qt.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/unix/thread.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/moc.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/resources.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/uic.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/yacc.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/lex.prf \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/include_source_dir.prf \
|
||||
Makefile: ADC1.pro /home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-openwrt-g++/qmake.conf /home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/g++.conf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/unix.conf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/linux.conf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/qws.conf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/qt_functions.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/qt_config.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/exclusive_builds.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/default_pre.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/release.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/default_post.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/warn_on.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/qt.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/unix/thread.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/moc.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/resources.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/uic.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/yacc.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/lex.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/include_source_dir.prf \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/lib/libQtGui.prl \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/lib/libQtNetwork.prl \
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/lib/libQtCore.prl
|
||||
$(QMAKE) -spec ../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-openwrt-g++ -unix -o Makefile ADC1.pro
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/g++.conf:
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/unix.conf:
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/linux.conf:
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/qws.conf:
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/qt_functions.prf:
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/qt_config.prf:
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/exclusive_builds.prf:
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/default_pre.prf:
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/release.prf:
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/default_post.prf:
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/warn_on.prf:
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/qt.prf:
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/unix/thread.prf:
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/moc.prf:
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/resources.prf:
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/uic.prf:
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/yacc.prf:
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/lex.prf:
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/include_source_dir.prf:
|
||||
$(QMAKE) -spec /home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-openwrt-g++ -unix -o Makefile ADC1.pro
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/g++.conf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/unix.conf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/linux.conf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/common/qws.conf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/qt_functions.prf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/qt_config.prf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/exclusive_builds.prf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/default_pre.prf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/release.prf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/default_post.prf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/warn_on.prf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/qt.prf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/unix/thread.prf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/moc.prf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/resources.prf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/uic.prf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/yacc.prf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/lex.prf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/features/include_source_dir.prf:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/lib/libQtGui.prl:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/lib/libQtNetwork.prl:
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/lib/libQtCore.prl:
|
||||
qmake: FORCE
|
||||
@$(QMAKE) -spec ../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-openwrt-g++ -unix -o Makefile ADC1.pro
|
||||
@$(QMAKE) -spec /home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-openwrt-g++ -unix -o Makefile ADC1.pro
|
||||
|
||||
dist:
|
||||
@$(CHK_DIR_EXISTS) .tmp/ADC1.0.0 || $(MKDIR) .tmp/ADC1.0.0
|
||||
@ -189,7 +189,7 @@ moc_mainwindow.cpp: ADCw.h \
|
||||
jz47xx_mmap.h \
|
||||
jz47xx_gpio.h \
|
||||
mainwindow.h \
|
||||
../../../../openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/bin/moc
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/bin/moc
|
||||
/home/juan64bits/ebd/ECB/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
|
||||
|
||||
compiler_rcc_make_all:
|
||||
|
BIN
Examples/ADC/Scope-QT-src/jz47xx_gpio.o
Normal file
BIN
Examples/ADC/Scope-QT-src/jz47xx_gpio.o
Normal file
Binary file not shown.
BIN
Examples/ADC/Scope-QT-src/jz47xx_mmap.o
Normal file
BIN
Examples/ADC/Scope-QT-src/jz47xx_mmap.o
Normal file
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
/* ADC Peripheral.h
|
||||
|
||||
Copyright (C) 2010 Carlos Camargo cicamargoba@unal.edu.co
|
||||
Andres Calderon andres.calderon@emqbit.com
|
||||
Andres Calderon andres.calderon@emqbit.com
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -71,8 +71,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||
|
||||
#define ADC_MAX_BUFFER 0x3FE/* 1022 reads/commands */
|
||||
|
||||
#define CS2_PORT JZ_GPIO_PORT_B
|
||||
#define CS2_PIN 26
|
||||
#define CS2_PORT JZ_GPIO_PORT_B
|
||||
#define CS2_PIN 26
|
||||
|
||||
typedef unsigned char uchar;
|
||||
|
||||
|
BIN
Examples/ADC/Scope-QT-src/jz_adc_peripheral.o
Normal file
BIN
Examples/ADC/Scope-QT-src/jz_adc_peripheral.o
Normal file
Binary file not shown.
BIN
Examples/ADC/Scope-QT-src/main.o
Normal file
BIN
Examples/ADC/Scope-QT-src/main.o
Normal file
Binary file not shown.
@ -9,20 +9,20 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
: QMainWindow(parent), ui(new Ui::MainWindow)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
connect(this,SIGNAL(refresh()),ui->Graph, SLOT(repaint()));
|
||||
ui->Graph->setPointsPerPlot(120);
|
||||
ui->Graph->setVoltsPerDiv(205);
|
||||
connect(this,SIGNAL(refresh()),ui->Graph, SLOT(repaint()));
|
||||
ui->Graph->setPointsPerPlot(120);
|
||||
ui->Graph->setVoltsPerDiv(205);
|
||||
|
||||
timer1 = new QTimer(this);
|
||||
timer1->start(50);
|
||||
connect(timer1, SIGNAL(timeout()), this, SLOT(updateGraph()));
|
||||
timer1 = new QTimer(this);
|
||||
timer1->start(50);
|
||||
connect(timer1, SIGNAL(timeout()), this, SLOT(updateGraph()));
|
||||
|
||||
ADC1 = new ADCw;
|
||||
ADC1->testADC();
|
||||
ADC1->setBufferLen(240);
|
||||
ADC1->setClockDiv(ADC_SPI_CLKDIV_MIN); //Max. speed
|
||||
ADC1->setMuxChannels(1);
|
||||
printf("\nTaking 120 samples by channel at Fs=99KHz (trigger=50ms)\n");
|
||||
ADC1 = new ADCw;
|
||||
ADC1->testADC();
|
||||
ADC1->setBufferLen(240);
|
||||
ADC1->setClockDiv(ADC_SPI_CLKDIV_MIN); //Max. speed
|
||||
ADC1->setMuxChannels(1);
|
||||
printf("\nTaking 120 samples by channel at Fs=99KHz (trigger=50ms)\n");
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
@ -32,18 +32,83 @@ MainWindow::~MainWindow()
|
||||
|
||||
void MainWindow::updateGraph()
|
||||
{
|
||||
JZ_REG * dataADC;
|
||||
JZ_REG * dataADC;
|
||||
|
||||
int tempD;
|
||||
int tempD;
|
||||
deltaCountCH1=0; deltaCountCH2=0;
|
||||
idxCH1=0; idxCH2=0;
|
||||
|
||||
dataADC=ADC1->takeSamplesADC(0);
|
||||
for(int i=0; i< 240/2; i++)
|
||||
{
|
||||
tempD = dataADC[i]&0x0FFF;
|
||||
ui->Graph->addPoint1(tempD+0x3ff);
|
||||
tempD = (dataADC[i]>>16)&0x0FFF;
|
||||
ui->Graph->addPoint2(tempD);
|
||||
}
|
||||
dataADC=ADC1->takeSamplesADC(0);
|
||||
for(int i=0; i< 240/2; i++)
|
||||
{
|
||||
tempD = dataADC[i]&0x0FFF;
|
||||
//tempD = cos(2.6*PI*i/200)*0x200+0x200;
|
||||
ui->Graph->addPoint1(tempD+0x3ff);
|
||||
|
||||
emit refresh();
|
||||
sign2_CH1 = getSign(tempD-0x200);
|
||||
if((sign1_CH1!=sign2_CH1) & (i>1))
|
||||
deltaCountCH1++;
|
||||
|
||||
if((deltaCountCH1>0) & (deltaCountCH1<3))
|
||||
{
|
||||
valCH1[idxCH1]= tempD-0x200;
|
||||
idxCH1 ++;
|
||||
}
|
||||
|
||||
sign1_CH1=sign2_CH1;
|
||||
|
||||
tempD = (dataADC[i]>>16)&0x0FFF;
|
||||
//tempD = cos(5*PI*i/200)*0x200+0x200;
|
||||
ui->Graph->addPoint2(tempD);
|
||||
|
||||
sign2_CH2 = getSign(tempD-0x200);
|
||||
if((sign1_CH2!=sign2_CH2) & (i>1))
|
||||
deltaCountCH2++;
|
||||
|
||||
if((deltaCountCH2>0) & (deltaCountCH2<3))
|
||||
{
|
||||
valCH2[idxCH2]= tempD-0x200;
|
||||
idxCH2 ++;
|
||||
}
|
||||
|
||||
sign1_CH2=sign2_CH2;
|
||||
}
|
||||
|
||||
double Vrms=0, Vm=0;
|
||||
for(int i=0; i<idxCH1; i++)
|
||||
{
|
||||
Vrms += pow(valCH1[i],2)/idxCH1;
|
||||
Vm += valCH1[i]/idxCH1;
|
||||
}
|
||||
|
||||
if(deltaCountCH1>2)
|
||||
{
|
||||
ui->txtVrmsCH1->setText(QString::number(sqrt(Vrms)));
|
||||
ui->txtVmCH1->setText(QString::number(Vm));
|
||||
}
|
||||
else
|
||||
{
|
||||
ui->txtVrmsCH1->setText("???");
|
||||
ui->txtVmCH1->setText("???");
|
||||
}
|
||||
|
||||
Vrms=0; Vm=0;
|
||||
for(int i=0; i<idxCH2; i++)
|
||||
{
|
||||
Vrms += pow(valCH2[i],2)/idxCH2;
|
||||
Vm += valCH2[i]/idxCH2;
|
||||
}
|
||||
|
||||
if(deltaCountCH2>2)
|
||||
{
|
||||
ui->txtVrmsCH2->setText(QString::number(sqrt(Vrms)));
|
||||
ui->txtVmCH2->setText(QString::number(Vm));
|
||||
}
|
||||
else
|
||||
{
|
||||
ui->txtVrmsCH2->setText("???");
|
||||
ui->txtVmCH2->setText("???");
|
||||
}
|
||||
|
||||
emit refresh();
|
||||
}
|
||||
|
@ -4,6 +4,8 @@
|
||||
#include <QtGui/QMainWindow>
|
||||
#include "ADCw.h"
|
||||
|
||||
#define PI 3.14159265
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class MainWindow;
|
||||
@ -17,6 +19,8 @@ public:
|
||||
MainWindow(QWidget *parent = 0);
|
||||
~MainWindow();
|
||||
|
||||
bool getSign(int val){if(val<0) return 0; else return 1;}
|
||||
|
||||
public slots:
|
||||
void updateGraph();
|
||||
|
||||
@ -28,6 +32,12 @@ private:
|
||||
QTimer *timer1;
|
||||
ADCw *ADC1;
|
||||
bool CHANNEL;
|
||||
|
||||
bool sign1_CH1, sign2_CH1; ;
|
||||
bool sign1_CH2, sign2_CH2;
|
||||
int deltaCountCH1, deltaCountCH2;
|
||||
int idxCH1, idxCH2;
|
||||
double valCH1[200], valCH2[200];
|
||||
};
|
||||
|
||||
#endif // MAINWINDOW_H
|
||||
|
BIN
Examples/ADC/Scope-QT-src/mainwindow.o
Normal file
BIN
Examples/ADC/Scope-QT-src/mainwindow.o
Normal file
Binary file not shown.
@ -14,18 +14,186 @@
|
||||
<string>ADC Test</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralWidget">
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0" colspan="2">
|
||||
<widget class="SignalDisplay" name="Graph" native="true">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
<widget class="SignalDisplay" name="Graph" native="true">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>240</width>
|
||||
<height>240</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QWidget" name="layoutWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>240</x>
|
||||
<y>120</y>
|
||||
<width>81</width>
|
||||
<height>46</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SetDefaultConstraint</enum>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="lblVmCH2">
|
||||
<property name="text">
|
||||
<string>Vm CH2</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="txtVmCH2">
|
||||
<property name="text">
|
||||
<string>##.##</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="layoutWidget_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>240</x>
|
||||
<y>60</y>
|
||||
<width>81</width>
|
||||
<height>46</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SetDefaultConstraint</enum>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="lblVrmsCH1">
|
||||
<property name="text">
|
||||
<string>Vrms CH1</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="txtVrmsCH1">
|
||||
<property name="text">
|
||||
<string>##.##</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="layoutWidget_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>240</x>
|
||||
<y>180</y>
|
||||
<width>81</width>
|
||||
<height>46</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SetDefaultConstraint</enum>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="lblVrmsCH2">
|
||||
<property name="text">
|
||||
<string>Vrms CH2</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="txtVrmsCH2">
|
||||
<property name="text">
|
||||
<string>##.##</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>240</x>
|
||||
<y>10</y>
|
||||
<width>81</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SetDefaultConstraint</enum>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="lblVmCH1">
|
||||
<property name="text">
|
||||
<string>Vm CH1</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="txtVmCH1">
|
||||
<property name="text">
|
||||
<string>##.##</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<action name="action_Salir">
|
||||
<property name="text">
|
||||
|
89
Examples/ADC/Scope-QT-src/moc_mainwindow.cpp
Normal file
89
Examples/ADC/Scope-QT-src/moc_mainwindow.cpp
Normal file
@ -0,0 +1,89 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'mainwindow.h'
|
||||
**
|
||||
** Created: Mon May 3 17:58:08 2010
|
||||
** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "mainwindow.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'mainwindow.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 62
|
||||
#error "This file was generated using the moc from 4.6.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
static const uint qt_meta_data_MainWindow[] = {
|
||||
|
||||
// content:
|
||||
4, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: signature, parameters, type, tag, flags
|
||||
12, 11, 11, 11, 0x05,
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
22, 11, 11, 11, 0x0a,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_MainWindow[] = {
|
||||
"MainWindow\0\0refresh()\0updateGraph()\0"
|
||||
};
|
||||
|
||||
const QMetaObject MainWindow::staticMetaObject = {
|
||||
{ &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow,
|
||||
qt_meta_data_MainWindow, 0 }
|
||||
};
|
||||
|
||||
#ifdef Q_NO_DATA_RELOCATION
|
||||
const QMetaObject &MainWindow::getStaticMetaObject() { return staticMetaObject; }
|
||||
#endif //Q_NO_DATA_RELOCATION
|
||||
|
||||
const QMetaObject *MainWindow::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *MainWindow::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_MainWindow))
|
||||
return static_cast<void*>(const_cast< MainWindow*>(this));
|
||||
return QMainWindow::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QMainWindow::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
switch (_id) {
|
||||
case 0: refresh(); break;
|
||||
case 1: updateGraph(); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void MainWindow::refresh()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, 0);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
BIN
Examples/ADC/Scope-QT-src/moc_mainwindow.o
Normal file
BIN
Examples/ADC/Scope-QT-src/moc_mainwindow.o
Normal file
Binary file not shown.
BIN
Examples/ADC/Scope-QT-src/signaldisplay.o
Normal file
BIN
Examples/ADC/Scope-QT-src/signaldisplay.o
Normal file
Binary file not shown.
192
Examples/ADC/Scope-QT-src/ui_mainwindow.h
Normal file
192
Examples/ADC/Scope-QT-src/ui_mainwindow.h
Normal file
@ -0,0 +1,192 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'mainwindow.ui'
|
||||
**
|
||||
** Created: Mon May 3 17:58:03 2010
|
||||
** by: Qt User Interface Compiler version 4.6.2
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_MAINWINDOW_H
|
||||
#define UI_MAINWINDOW_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QHeaderView>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QMainWindow>
|
||||
#include <QtGui/QVBoxLayout>
|
||||
#include <QtGui/QWidget>
|
||||
#include <signaldisplay.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_MainWindow
|
||||
{
|
||||
public:
|
||||
QAction *action_Salir;
|
||||
QAction *actionA_cerca_de;
|
||||
QAction *actionAcerca_de_QT;
|
||||
QAction *actionAcerca_de_Qt;
|
||||
QWidget *centralWidget;
|
||||
SignalDisplay *Graph;
|
||||
QWidget *layoutWidget;
|
||||
QVBoxLayout *verticalLayout_2;
|
||||
QLabel *lblVmCH2;
|
||||
QLineEdit *txtVmCH2;
|
||||
QWidget *layoutWidget_2;
|
||||
QVBoxLayout *verticalLayout_3;
|
||||
QLabel *lblVrmsCH1;
|
||||
QLineEdit *txtVrmsCH1;
|
||||
QWidget *layoutWidget_3;
|
||||
QVBoxLayout *verticalLayout_4;
|
||||
QLabel *lblVrmsCH2;
|
||||
QLineEdit *txtVrmsCH2;
|
||||
QWidget *widget;
|
||||
QVBoxLayout *verticalLayout;
|
||||
QLabel *lblVmCH1;
|
||||
QLineEdit *txtVmCH1;
|
||||
|
||||
void setupUi(QMainWindow *MainWindow)
|
||||
{
|
||||
if (MainWindow->objectName().isEmpty())
|
||||
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
|
||||
MainWindow->resize(320, 240);
|
||||
action_Salir = new QAction(MainWindow);
|
||||
action_Salir->setObjectName(QString::fromUtf8("action_Salir"));
|
||||
actionA_cerca_de = new QAction(MainWindow);
|
||||
actionA_cerca_de->setObjectName(QString::fromUtf8("actionA_cerca_de"));
|
||||
actionAcerca_de_QT = new QAction(MainWindow);
|
||||
actionAcerca_de_QT->setObjectName(QString::fromUtf8("actionAcerca_de_QT"));
|
||||
actionAcerca_de_Qt = new QAction(MainWindow);
|
||||
actionAcerca_de_Qt->setObjectName(QString::fromUtf8("actionAcerca_de_Qt"));
|
||||
centralWidget = new QWidget(MainWindow);
|
||||
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
|
||||
Graph = new SignalDisplay(centralWidget);
|
||||
Graph->setObjectName(QString::fromUtf8("Graph"));
|
||||
Graph->setGeometry(QRect(0, 0, 240, 240));
|
||||
Graph->setMinimumSize(QSize(100, 20));
|
||||
layoutWidget = new QWidget(centralWidget);
|
||||
layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
|
||||
layoutWidget->setGeometry(QRect(240, 120, 81, 46));
|
||||
verticalLayout_2 = new QVBoxLayout(layoutWidget);
|
||||
verticalLayout_2->setSpacing(0);
|
||||
verticalLayout_2->setContentsMargins(11, 11, 11, 11);
|
||||
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
|
||||
verticalLayout_2->setSizeConstraint(QLayout::SetDefaultConstraint);
|
||||
verticalLayout_2->setContentsMargins(0, 0, 0, 0);
|
||||
lblVmCH2 = new QLabel(layoutWidget);
|
||||
lblVmCH2->setObjectName(QString::fromUtf8("lblVmCH2"));
|
||||
lblVmCH2->setAlignment(Qt::AlignCenter);
|
||||
|
||||
verticalLayout_2->addWidget(lblVmCH2);
|
||||
|
||||
txtVmCH2 = new QLineEdit(layoutWidget);
|
||||
txtVmCH2->setObjectName(QString::fromUtf8("txtVmCH2"));
|
||||
txtVmCH2->setAlignment(Qt::AlignCenter);
|
||||
txtVmCH2->setReadOnly(true);
|
||||
|
||||
verticalLayout_2->addWidget(txtVmCH2);
|
||||
|
||||
layoutWidget_2 = new QWidget(centralWidget);
|
||||
layoutWidget_2->setObjectName(QString::fromUtf8("layoutWidget_2"));
|
||||
layoutWidget_2->setGeometry(QRect(240, 60, 81, 46));
|
||||
verticalLayout_3 = new QVBoxLayout(layoutWidget_2);
|
||||
verticalLayout_3->setSpacing(0);
|
||||
verticalLayout_3->setContentsMargins(11, 11, 11, 11);
|
||||
verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
|
||||
verticalLayout_3->setSizeConstraint(QLayout::SetDefaultConstraint);
|
||||
verticalLayout_3->setContentsMargins(0, 0, 0, 0);
|
||||
lblVrmsCH1 = new QLabel(layoutWidget_2);
|
||||
lblVrmsCH1->setObjectName(QString::fromUtf8("lblVrmsCH1"));
|
||||
lblVrmsCH1->setAlignment(Qt::AlignCenter);
|
||||
|
||||
verticalLayout_3->addWidget(lblVrmsCH1);
|
||||
|
||||
txtVrmsCH1 = new QLineEdit(layoutWidget_2);
|
||||
txtVrmsCH1->setObjectName(QString::fromUtf8("txtVrmsCH1"));
|
||||
txtVrmsCH1->setAlignment(Qt::AlignCenter);
|
||||
txtVrmsCH1->setReadOnly(true);
|
||||
|
||||
verticalLayout_3->addWidget(txtVrmsCH1);
|
||||
|
||||
layoutWidget_3 = new QWidget(centralWidget);
|
||||
layoutWidget_3->setObjectName(QString::fromUtf8("layoutWidget_3"));
|
||||
layoutWidget_3->setGeometry(QRect(240, 180, 81, 46));
|
||||
verticalLayout_4 = new QVBoxLayout(layoutWidget_3);
|
||||
verticalLayout_4->setSpacing(0);
|
||||
verticalLayout_4->setContentsMargins(11, 11, 11, 11);
|
||||
verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
|
||||
verticalLayout_4->setSizeConstraint(QLayout::SetDefaultConstraint);
|
||||
verticalLayout_4->setContentsMargins(0, 0, 0, 0);
|
||||
lblVrmsCH2 = new QLabel(layoutWidget_3);
|
||||
lblVrmsCH2->setObjectName(QString::fromUtf8("lblVrmsCH2"));
|
||||
lblVrmsCH2->setAlignment(Qt::AlignCenter);
|
||||
|
||||
verticalLayout_4->addWidget(lblVrmsCH2);
|
||||
|
||||
txtVrmsCH2 = new QLineEdit(layoutWidget_3);
|
||||
txtVrmsCH2->setObjectName(QString::fromUtf8("txtVrmsCH2"));
|
||||
txtVrmsCH2->setAlignment(Qt::AlignCenter);
|
||||
txtVrmsCH2->setReadOnly(true);
|
||||
|
||||
verticalLayout_4->addWidget(txtVrmsCH2);
|
||||
|
||||
widget = new QWidget(centralWidget);
|
||||
widget->setObjectName(QString::fromUtf8("widget"));
|
||||
widget->setGeometry(QRect(240, 10, 81, 41));
|
||||
verticalLayout = new QVBoxLayout(widget);
|
||||
verticalLayout->setSpacing(0);
|
||||
verticalLayout->setContentsMargins(11, 11, 11, 11);
|
||||
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
||||
verticalLayout->setSizeConstraint(QLayout::SetDefaultConstraint);
|
||||
verticalLayout->setContentsMargins(0, 0, 0, 0);
|
||||
lblVmCH1 = new QLabel(widget);
|
||||
lblVmCH1->setObjectName(QString::fromUtf8("lblVmCH1"));
|
||||
lblVmCH1->setAlignment(Qt::AlignCenter);
|
||||
|
||||
verticalLayout->addWidget(lblVmCH1);
|
||||
|
||||
txtVmCH1 = new QLineEdit(widget);
|
||||
txtVmCH1->setObjectName(QString::fromUtf8("txtVmCH1"));
|
||||
txtVmCH1->setAlignment(Qt::AlignCenter);
|
||||
txtVmCH1->setReadOnly(true);
|
||||
|
||||
verticalLayout->addWidget(txtVmCH1);
|
||||
|
||||
MainWindow->setCentralWidget(centralWidget);
|
||||
|
||||
retranslateUi(MainWindow);
|
||||
|
||||
QMetaObject::connectSlotsByName(MainWindow);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QMainWindow *MainWindow)
|
||||
{
|
||||
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "ADC Test", 0, QApplication::UnicodeUTF8));
|
||||
action_Salir->setText(QApplication::translate("MainWindow", "&Salir", 0, QApplication::UnicodeUTF8));
|
||||
actionA_cerca_de->setText(QApplication::translate("MainWindow", "A&cerca de...", 0, QApplication::UnicodeUTF8));
|
||||
actionAcerca_de_QT->setText(QApplication::translate("MainWindow", "Acerca de &QT", 0, QApplication::UnicodeUTF8));
|
||||
actionAcerca_de_Qt->setText(QApplication::translate("MainWindow", "Acerca de &Qt...", 0, QApplication::UnicodeUTF8));
|
||||
lblVmCH2->setText(QApplication::translate("MainWindow", "Vm CH2", 0, QApplication::UnicodeUTF8));
|
||||
txtVmCH2->setText(QApplication::translate("MainWindow", "##.##", 0, QApplication::UnicodeUTF8));
|
||||
lblVrmsCH1->setText(QApplication::translate("MainWindow", "Vrms CH1", 0, QApplication::UnicodeUTF8));
|
||||
txtVrmsCH1->setText(QApplication::translate("MainWindow", "##.##", 0, QApplication::UnicodeUTF8));
|
||||
lblVrmsCH2->setText(QApplication::translate("MainWindow", "Vrms CH2", 0, QApplication::UnicodeUTF8));
|
||||
txtVrmsCH2->setText(QApplication::translate("MainWindow", "##.##", 0, QApplication::UnicodeUTF8));
|
||||
lblVmCH1->setText(QApplication::translate("MainWindow", "Vm CH1", 0, QApplication::UnicodeUTF8));
|
||||
txtVmCH1->setText(QApplication::translate("MainWindow", "##.##", 0, QApplication::UnicodeUTF8));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow: public Ui_MainWindow {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_MAINWINDOW_H
|
Loading…
x
Reference in New Issue
Block a user