Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. oscilloscope in qt
Forum Updated to NodeBB v4.3 + New Features

oscilloscope in qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
25 Posts 4 Posters 6.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    thippu
    wrote on last edited by
    #1

    If anyone has project oscilloscope in qt
    plz reply
    Iet me know I want that project

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Take a look here

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      T 1 Reply Last reply
      6
      • SGaistS SGaist

        Hi,

        Take a look here

        T Offline
        T Offline
        thippu
        wrote on last edited by
        #3

        @SGaist Thank you bro for the reply,
        if I download the project from this website:https://sourceforge.net/projects/qtoscilloscope/
        When I do compile in Qt it says dwf.h (header file ) not found
        help me in this thing bro

        1 Reply Last reply
        0
        • VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by
          #4

          Read the "INSTALL" file of that project: https://sourceforge.net/p/qtoscilloscope/code/HEAD/tree/trunk/INSTALL

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          T 1 Reply Last reply
          6
          • VRoninV VRonin

            Read the "INSTALL" file of that project: https://sourceforge.net/p/qtoscilloscope/code/HEAD/tree/trunk/INSTALL

            T Offline
            T Offline
            thippu
            wrote on last edited by thippu
            #5

            @VRonin Thank you !! bro
            I checked it I have to install those files
            thanks again

            1 Reply Last reply
            1
            • T Offline
              T Offline
              thippu
              wrote on last edited by
              #6

              @SGaist @VRonin I read this https://sourceforge.net/p/qtoscilloscope/code/HEAD/tree/trunk/INSTALL , they did n't tell where files : libfftw3 Fourier transformation library

              libdwf		Digilent Waveform SDK for example version 3
              +	
              

              http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,66,849&Prod=WAVEFORMS
              http://www.digilentinc.com/Products/Detail.cfm?Prod=ADEPT2
              to be placed?
              and plz tell me where to be placed and
              qmake is successful but when build it says : /usr/bin/ld: cannot find -ldwf
              /usr/bin/ld: cannot find -lfftw3
              plz help me what do

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Depends on your OS, for Debian install the package named libfftw3-dev

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                T 1 Reply Last reply
                2
                • SGaistS SGaist

                  Depends on your OS, for Debian install the package named libfftw3-dev

                  T Offline
                  T Offline
                  thippu
                  wrote on last edited by
                  #8

                  @SGaist but What about this error Bro:
                  error: cannot find -ldwf

                  1 Reply Last reply
                  0
                  • VRoninV Offline
                    VRoninV Offline
                    VRonin
                    wrote on last edited by VRonin
                    #9

                    http://doc.qt.io/qt-5/third-party-libraries.html
                    http://doc.qt.io/qtcreator/creator-project-qmake-libraries.html

                    Basically you need to add tha path to dwf to your PATH enviromental variable

                    "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                    ~Napoleon Bonaparte

                    On a crusade to banish setIndexWidget() from the holy land of Qt

                    VRoninV 1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      thippu
                      wrote on last edited by
                      #10

                      @SGaist , @VRonin bro I tried to add lib to Qt project still errors
                      plz help this is the last error :
                      o/p:
                      /usr/bin/ld: skipping incompatible /home/mmrfic/Downloads/digilent.waveforms_3.7.5_i386/usr/lib//libdwf.so when searching for -ldwf
                      Makefile:316: recipe for target 'qt-oscilloscope' failed
                      /usr/bin/ld: cannot find -ldwf
                      collect2: error: ld returned 1 exit status
                      make: *** [qt-oscilloscope] Error 1
                      14:36:13: The process "/usr/bin/make" exited with code 2.
                      Error while building/deploying project qt-oscilloscope (kit: Desktop Qt 5.9.0 GCC 64bit)
                      When executing step "Make"

                      1 Reply Last reply
                      0
                      • VRoninV VRonin

                        http://doc.qt.io/qt-5/third-party-libraries.html
                        http://doc.qt.io/qtcreator/creator-project-qmake-libraries.html

                        Basically you need to add tha path to dwf to your PATH enviromental variable

                        VRoninV Offline
                        VRoninV Offline
                        VRonin
                        wrote on last edited by
                        #11

                        @VRonin said in oscilloscope in qt:

                        Basically you need to add tha path to dwf to your PATH enviromental variable

                        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                        ~Napoleon Bonaparte

                        On a crusade to banish setIndexWidget() from the holy land of Qt

                        T 1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          thippu
                          wrote on last edited by
                          #12

                          @VRonin Does environment variable have to be -ldwf? or just dwf?

                          VRoninV 1 Reply Last reply
                          0
                          • T thippu

                            @VRonin Does environment variable have to be -ldwf? or just dwf?

                            VRoninV Offline
                            VRoninV Offline
                            VRonin
                            wrote on last edited by
                            #13

                            @thippu Ok, let's take a different approach. See in http://doc.qt.io/qt-5/third-party-libraries.html the part where it says LIBS += -L"3rdparty/CatWhisperer/lib" -lCatWhisperer?
                            Your program will probably just have something like LIBS += ldwf so you need to ass the -L part in front of it

                            "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                            ~Napoleon Bonaparte

                            On a crusade to banish setIndexWidget() from the holy land of Qt

                            1 Reply Last reply
                            0
                            • VRoninV VRonin

                              @VRonin said in oscilloscope in qt:

                              Basically you need to add tha path to dwf to your PATH enviromental variable

                              T Offline
                              T Offline
                              thippu
                              wrote on last edited by
                              #14

                              @VRonin Do I have to open terminal and use export command to set system enviornment variable in ubuntu?

                              T 1 Reply Last reply
                              0
                              • T thippu

                                @VRonin Do I have to open terminal and use export command to set system enviornment variable in ubuntu?

                                T Offline
                                T Offline
                                thippu
                                wrote on last edited by
                                #15

                                @thippu like that or in side Qt itself?

                                1 Reply Last reply
                                0
                                • T Offline
                                  T Offline
                                  thippu
                                  wrote on last edited by
                                  #16

                                  @VRonin , @SGaist this qmake I have changed plz tell this right or not?
                                  qmake file:

                                  # Automatically generated by qmake (2.01a) Sat Dec 13 16:33:29 2014
                                  ######################################################################
                                  QT       += core gui widgets serialport multimedia multimediawidgets printsupport datavisualization charts
                                  
                                  TEMPLATE = app
                                  TARGET = qt-oscilloscope
                                  DEPENDPATH += .
                                  INCLUDEPATH += .
                                  INCLUDEPATH += /usr/local/include/digilent/waveforms
                                  INCLUDEPATH += /usr/include/digilent/waveforms
                                  INCLUDEPATH +=/home/mmrfic/Desktop/qt-oscilloscope-1.0
                                  CONFIG += qt
                                  
                                  
                                  LIBS +=-l "digilent.waveforms_3.7.5_i386/usr/lib" -ldwf
                                  
                                  LIBS+=-lfftw3
                                  
                                  # Input
                                  HEADERS += Horizontal.hh MainWindow.hh Trigger.hh Tube.hh Vertical.hh
                                  HEADERS += Color.hh Color.def file.def Cursor.hh Device.hh State.hh
                                  HEADERS += Wavegen.hh FftWindow.hh Analog_Discovery.hh Dummy_Device.hh
                                  
                                  SOURCES += Horizontal.cc main.cc MainWindow.cc Trigger.cc Tube.cc Vertical.cc
                                  SOURCES += Color.cc Cursor.cc State.cc Wavegen.cc Common.cc
                                  SOURCES += FftWindow.cc Analog_Discovery.cc Dummy_Device.cc ```
                                  1 Reply Last reply
                                  0
                                  • VRoninV Offline
                                    VRoninV Offline
                                    VRonin
                                    wrote on last edited by VRonin
                                    #17
                                    • -l "digilent.waveforms_3.7.5_i386/usr/lib" should be -L"digilent.waveforms_3.7.5_i386/usr/lib"
                                    • does "digilent.waveforms_3.7.5_i386/usr/lib" contain a file called dwf.lib or dwf.a (sorry I don't remember the estension of gcc libraries)?
                                    • You probably have to do the same for -lfftw3

                                    "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                                    ~Napoleon Bonaparte

                                    On a crusade to banish setIndexWidget() from the holy land of Qt

                                    T 2 Replies Last reply
                                    0
                                    • VRoninV VRonin
                                      • -l "digilent.waveforms_3.7.5_i386/usr/lib" should be -L"digilent.waveforms_3.7.5_i386/usr/lib"
                                      • does "digilent.waveforms_3.7.5_i386/usr/lib" contain a file called dwf.lib or dwf.a (sorry I don't remember the estension of gcc libraries)?
                                      • You probably have to do the same for -lfftw3
                                      T Offline
                                      T Offline
                                      thippu
                                      wrote on last edited by
                                      #18

                                      @VRonin said in oscilloscope in qt:

                                      • -l "digilent.waveforms_3.7.5_i386/usr/lib" should be -L"digilent.waveforms_3.7.5_i386/usr/lib"
                                        changes made,but again same error
                                      1 Reply Last reply
                                      0
                                      • VRoninV VRonin
                                        • -l "digilent.waveforms_3.7.5_i386/usr/lib" should be -L"digilent.waveforms_3.7.5_i386/usr/lib"
                                        • does "digilent.waveforms_3.7.5_i386/usr/lib" contain a file called dwf.lib or dwf.a (sorry I don't remember the estension of gcc libraries)?
                                        • You probably have to do the same for -lfftw3
                                        T Offline
                                        T Offline
                                        thippu
                                        wrote on last edited by
                                        #19

                                        @VRonin said in oscilloscope in qt:

                                        • does "digilent.waveforms_3.7.5_i386/usr/libcontain a file calleddwf.libordwf.a` (sorry I don't remember the estension of gcc libraries)?
                                          yes, It has file dwf.h
                                          will that okay bro?
                                        • You probably have to do the same for -lfftw3
                                          -lfftw3 working fine bro
                                        VRoninV 1 Reply Last reply
                                        0
                                        • T thippu

                                          @VRonin said in oscilloscope in qt:

                                          • does "digilent.waveforms_3.7.5_i386/usr/libcontain a file calleddwf.libordwf.a` (sorry I don't remember the estension of gcc libraries)?
                                            yes, It has file dwf.h
                                            will that okay bro?
                                          • You probably have to do the same for -lfftw3
                                            -lfftw3 working fine bro
                                          VRoninV Offline
                                          VRoninV Offline
                                          VRonin
                                          wrote on last edited by
                                          #20

                                          @thippu said in oscilloscope in qt:

                                          yes, It has file dwf.h

                                          Nope. it must be a compiled binary, not a header

                                          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                                          ~Napoleon Bonaparte

                                          On a crusade to banish setIndexWidget() from the holy land of Qt

                                          T 1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved