Products > Test Equipment
SainSmart DDS120 & DDS140 USB Oscilloscope
<< < (76/84) > >>
bianchifan:

--- Quote from: doctormord on June 13, 2016, 09:27:50 am ---Check the code in openbuudai if the app is fixed to the older pid/vid combination.

--- End quote ---
Luckily the DDS140 type is fixed to "8312" in buudai_types.h, same as offered from mine :)

For I have no plan how to compile on Win7 I just even tried on Ubuntu 15.10.
Unfortunately compilation failes at last step:
g++ -m64 -Wl,-O1 -o bin/openhantek build/obj/colorbox.o build/obj/configdialog.o build/obj/configpages.o build/obj/dataanalyzer.o build/obj/dockwindows.o build/obj/dsocontrol.o build/obj/dsowidget.o build/obj/exporter.o build/obj/glgenerator.o build/obj/glscope.o build/obj/helper.o build/obj/levelslider.o build/obj/main.o build/obj/openhantek.o build/obj/settings.o build/obj/hantek_control.o build/obj/hantek_device.o build/obj/hantek_types.o build/obj/buudai_control.o build/obj/buudai_device.o build/obj/buudai_types.o build/obj/dso.o build/obj/moc_colorbox.o build/obj/moc_configdialog.o build/obj/moc_configpages.o build/obj/moc_dataanalyzer.o build/obj/moc_dockwindows.o build/obj/moc_dsocontrol.o build/obj/moc_dsowidget.o build/obj/moc_exporter.o build/obj/moc_glscope.o build/obj/moc_glgenerator.o build/obj/moc_levelslider.o build/obj/moc_openhantek.o build/obj/moc_settings.o build/obj/moc_hantek_control.o build/obj/moc_hantek_device.o build/obj/moc_buudai_control.o build/obj/moc_buudai_device.o build/obj/qrc_application.o build/obj/qrc_configdialog.o    -L/usr/lib/x86_64-linux-gnu -L/usr/X11R6/lib64 -LC:/Qt/lib/libusb/MS32/dll/ -llibusb-1.0 -LC:/Qt/lib/fftw-3.3.4-dll32/ -lfftw3-3 -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread
/usr/bin/ld: cannot find -llibusb-1.0
/usr/bin/ld: cannot find -lfftw3-3
collect2: error: ld returned 1 exit status
Makefile.Release:193: recipe for target 'bin/openhantek' failed

to compare... same step at openhantek:
g++ -m64 -Wl,-O1 -o bin/openhantek build/obj/colorbox.o build/obj/configdialog.o build/obj/configpages.o build/obj/dataanalyzer.o build/obj/dockwindows.o build/obj/dso.o build/obj/dsocontrol.o build/obj/dsowidget.o build/obj/exporter.o build/obj/glgenerator.o build/obj/glscope.o build/obj/helper.o build/obj/levelslider.o build/obj/main.o build/obj/openhantek.o build/obj/settings.o build/obj/sispinbox.o build/obj/hardcontrol.o build/obj/control.o build/obj/device.o build/obj/types.o build/obj/moc_colorbox.o build/obj/moc_configdialog.o build/obj/moc_configpages.o build/obj/moc_dataanalyzer.o build/obj/moc_dockwindows.o build/obj/moc_dsocontrol.o build/obj/moc_dsowidget.o build/obj/moc_exporter.o build/obj/moc_glscope.o build/obj/moc_glgenerator.o build/obj/moc_levelslider.o build/obj/moc_openhantek.o build/obj/moc_settings.o build/obj/moc_sispinbox.o build/obj/moc_hardcontrol.o build/obj/moc_control.o build/obj/moc_device.o build/obj/qrc_application.o build/obj/qrc_configdialog.o    -L/usr/lib/x86_64-linux-gnu -L/usr/X11R6/lib64 -lfftw3 -lusb-1.0 -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread

I have no skills in c++/g++ but when I change "-llibusb-1.0" to "-lusb-1.0" and "-lfftw3-3" to "-lfftw3" it compiles fine.
When started DDS140 is recognized but nothing further happens :(

mjwx4p:
i will try to dumb the firmware and will post it here. Again thanks for your help.
doctormord:
[dummyquote]I have no skills in c++/g++ but when I change "-llibusb-1.0" to "-lusb-1.0" and "-lfftw3-3" to "-lfftw3" it compiles fine.[/dummyquote]

That's normal and just fine. I should note that on the manual page. A proper make file should handle that, but I'm not into it. For compiling on Windows, there's a hint in the thread here.
mjwx4p:
Hi,
i had opened my device now, and here is a picture of it. If i compare the picture of doctormord and my picture, then there are several differences between our devices visible. It seems i have another hardware revision as doctormord.   :-[

I have some troubles to connect my device with ponyprog2000 or similiar. Maybe someone can help me with that. What i have to do?

Thanks for your help
mjwx4p:
Hi,
ok i can establish the connection now with Cypress Suite 3.4.7 if i install the cypress driver usb3 from cypress itself without jumper R32. But i can't establish the connection with ponyprog2000, even jumper R32 is plugged in or not. Which driver i have to use to work with ponyprog2000?
Navigation
Message Index
Next page
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod