{"id":47,"date":"2012-12-03T14:30:30","date_gmt":"2012-12-03T13:30:30","guid":{"rendered":"http:\/\/localhost\/~johan\/wordpress\/?p=47"},"modified":"2014-07-20T14:39:43","modified_gmt":"2014-07-20T12:39:43","slug":"digital-storage-usb-oscilloscope-on-imac","status":"publish","type":"post","link":"https:\/\/www.chaosgeordend.nl\/wordpress\/2012\/12\/03\/digital-storage-usb-oscilloscope-on-imac\/","title":{"rendered":"Digital Storage USB oscilloscope on iMac"},"content":{"rendered":"<div id=\"entry_img\">\n<a href=\"https:\/\/www.chaosgeordend.nl\/mt-blog-cg\/images\/OpenHantek.png\" rel=\"lightbox[47]\"><br \/>\n<img decoding=\"async\" alt=\"OpenHantek GUI\" src=\"https:\/\/www.chaosgeordend.nl\/mt-blog-cg\/images\/thumbnails\/OpenHantek.png\"\/><\/a><br \/>\n<a href=\"https:\/\/www.chaosgeordend.nl\/mt-blog-cg\/images\/OpenHantek_Qwt.png\" rel=\"lightbox[47]\"><img decoding=\"async\" alt=\"OpenHantek GUI Qwt\" src=\"https:\/\/www.chaosgeordend.nl\/mt-blog-cg\/images\/thumbnails\/OpenHantek_Qwt.png\"\/><\/a>\n<\/div>\n<p>\nSwitched from <a href=\"https:\/\/freshmeat.net\/projects\/hantekdso\">HantekDSO<\/a> to <a href=\"https:\/\/www.openhantek.org\">OpenHantek<\/a> for the Voltcraft model 2090 DSO.<\/p>\n<p>The OpenHantek GUI adds a bit more flexibility, e.g. export to PDF, PS, JPG or CSV data.<\/p>\n<p><!--more--><\/p>\n<p>The current (0.2.0 alpha) openHantek version on OS X 10.6.8 was compiled as follows. Dependencies have been installed with <a href=\"https:\/\/www.macports.org\">MacPorts<\/a>.<\/p>\n<pre lang=\"shell\">\r\n# opengl is part of OS X 10.6.8\r\n# OS X <a href=\"https:\/\/github.com\/nall\/nexys2-osx\">fxload<\/a>\r\n# <a href=\"https:\/\/sourceforge.net\/projects\/openhantek\/files\/dsoextractfw\/\">dsoextractfw<\/a>\r\n$ sudo port install libusb # USB library\r\n$ sudo port install qt4-mac # Qt4 Aqua (qt4-x11 as alternative)\r\n$ sudo port install fftw # discrete Fourier C library\r\n$ cd \/opt\/local\/openhantek\r\n$ qmake PREFIX=\/opt\/local\/openhantek\r\n<\/pre>\n<p>Some minor patches:<\/p>\n<pre lang=\"shell\">\r\nMakefile:\r\n-DQMAKE_TRANSLATIONS_PATH=\"Contents\/Resources\/translations\"\r\n=> -DQMAKE_TRANSLATIONS_PATH=\"Contents\/Resources\/translations\"\r\n-DVERSION=\"0.2.0\"\r\n=> -DVERSION=\"0.2.0\"\r\ndsowidget.cpp:\r\n65\tthis->zoomScope->setZoomMode(true);\r\n66\r\n67\t\/\/2012-12-02 <a href=\"https:\/\/bugreports.qt-project.org\/browse\/QTBUG-8580\">Fix non visible scope view in OS X<\/a>\r\n68\tthis->mainScope->hide();\r\n69\tthis->mainScope->show();\r\n$ make\r\n$ make install\r\n$ open .\/bin\/OpenHantek.ap\r\n<\/pre>\n<p>This <a href=\"https:\/\/www.chaosgeordend.nl\/documents\/openhantek.command\">shell-script<\/a> can be used to load the DSO firmware prior to starting the program. Applescript could be used for this as well.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Switched from HantekDSO to OpenHantek for the Voltcraft model 2090 DSO. The OpenHantek GUI adds a bit more flexibility, e.g. export to PDF, PS, JPG or CSV data.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,32,47],"tags":[],"class_list":["post-47","post","type-post","status-publish","format-standard","hentry","category-electronicaelectronics","category-hantekdso","category-openhantek"],"_links":{"self":[{"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/posts\/47","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/comments?post=47"}],"version-history":[{"count":1,"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/posts\/47\/revisions"}],"predecessor-version":[{"id":87,"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/posts\/47\/revisions\/87"}],"wp:attachment":[{"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/media?parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/categories?post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chaosgeordend.nl\/wordpress\/wp-json\/wp\/v2\/tags?post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}