{"id":551,"date":"2018-02-18T18:41:43","date_gmt":"2018-02-19T00:41:43","guid":{"rendered":"http:\/\/www.schwie.com\/brad\/?p=551"},"modified":"2018-02-19T22:47:07","modified_gmt":"2018-02-20T04:47:07","slug":"sun-nuclear-and-macos-sierra-almost-there","status":"publish","type":"post","link":"https:\/\/www.schwie.com\/brad\/?p=551","title":{"rendered":"Sun Nuclear and macOS Sierra &#8211; almost there"},"content":{"rendered":"<p>While attempting to configure some 1028 continuous radon monitors from Sun Nuclear, I assumed correctly the manufacturer would only offer Windows software. They said it ran on XP\/2000 and pretty much everything before that, so I figure it would be a good candidate to try with Wine and WineBottler on my Mac.<\/p>\n<p>Use <a href=\"http:\/\/winebottler.kronenberg.org\">WineBottler 1.8.3<\/a> and configure it with the settings shown in the screenshot below.<\/p>\n<div id=\"attachment_587\" style=\"width: 310px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-587\" src=\"https:\/\/www.schwie.com\/brad\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-16-at-7.45.39-AM-300x207.png\" alt=\"\" width=\"300\" height=\"207\" class=\"size-medium wp-image-587\" srcset=\"https:\/\/www.schwie.com\/brad\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-16-at-7.45.39-AM-300x207.png 300w, https:\/\/www.schwie.com\/brad\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-16-at-7.45.39-AM-768x530.png 768w, https:\/\/www.schwie.com\/brad\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-16-at-7.45.39-AM-1024x707.png 1024w, https:\/\/www.schwie.com\/brad\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-16-at-7.45.39-AM.png 1136w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><p id=\"caption-attachment-587\" class=\"wp-caption-text\">WineBottler 1.8.3 settings for Sun Nuclear 1028 software<\/p><\/div>\n<p>The resulting application, saved to my desktop, boots up. Success! Almost.<\/p>\n<p>Next we need to tell macOS sierra which USB to serial device and port to use. I started this, but didn&#8217;t quite get it to work yet. I think these links are going to be helpful when I dig into this further:<\/p>\n<p>https:\/\/www.codeweavers.com\/support\/wiki\/mac\/faq\/usbtoserial<br \/>\nhttp:\/\/hintshop.ludvig.co.nz\/show\/persistent-names-usb-serial-devices\/<br \/>\n<iframe loading=\"lazy\" title=\"Installing D2xx drivers on macOS\" width=\"584\" height=\"329\" src=\"https:\/\/www.youtube.com\/embed\/Ir2PVz1870E?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><br \/>\nhttp:\/\/www.ftdichip.com\/Drivers\/VCP.htm<br \/>\nhttp:\/\/www.ftdichip.com\/Support\/Documents\/InstallGuides\/Mac_OS_X_Installation_Guide.pdf<br \/>\nhttps:\/\/fearthecow.net\/guest\/wine-serial-ports\/<\/p>\n<p>In the mean time, I can confirm that Sun Nuclear&#8217;s software works fine with <a href=\"https:\/\/www.virtualbox.org\">VirtualBox, Version 5.1.30 r118389 (Qt5.6.3)<\/a>, running Windows XP on my Mac.<\/p>\n<p>Finally, here&#8217;s what I quickly tried, but it didn&#8217;t seem to work:<\/p>\n<p>1. Using the codeweavers link up above, open Terminal.app and enter:<\/p>\n<p>Last login: Fri Feb 16 23:17:05 on console<br \/>\nBCS-MBP:~ brad$ cd \/dev<br \/>\nBCS-MBP:dev brad$ ls > ~\/disconnect.txt<br \/>\nBCS-MBP:dev brad$ ls > ~\/reconnect.txt<br \/>\nBCS-MBP:dev brad$ diff ~\/disconnect.txt ~\/reconnect.txt<br \/>\n269a270<br \/>\n> cu.usbserial-410<br \/>\n450a452<br \/>\n> tty.usbserial-410<br \/>\nBCS-MBP:dev brad$ ls > ~\/disconnect.txt<br \/>\nBCS-MBP:dev brad$ ls > ~\/reconnect.txt<br \/>\nBCS-MBP:dev brad$ diff ~\/disconnect.txt ~\/reconnect.txt<br \/>\n269a270<br \/>\n> cu.usbserial-410<br \/>\n450a452<br \/>\n> tty.usbserial-410<br \/>\nBCS-MBP:dev brad$ ls > ~\/disconnect.txt<br \/>\nBCS-MBP:dev brad$ ls > ~\/reconnect.txt<br \/>\nBCS-MBP:dev brad$ diff ~\/disconnect.txt ~\/reconnect.txt<br \/>\n269a270<br \/>\n> cu.usbserial-410<br \/>\n450a452<br \/>\n> tty.usbserial-410<\/p>\n<p>2. Incorporating info in the CodeWeavers link with the app we created with WineBottler, let&#8217;s link the tty USB port with COM1 using the following command in Terminal.app:<\/p>\n<p>BCS-MBP:~ brad$ cd \/Users\/brad\/Desktop\/Sun\\ Nuclear.app\/Contents\/Resources\/wineprefix\/dosdevices<br \/>\nBCS-MBP:dosdevices brad$ ln -s \/dev\/tty.usbserial-410 com1<\/p>\n<p>3. Opening &#8220;Sun Nuclear.app&#8221; didn&#8217;t allow me to connect to the 1028. For this to work, I think I need to load the FTP USB drivers, which is more than I want to get into at the moment.<\/p>\n<p>If anyone sees where I went wrong, feel free to chime in below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While attempting to configure some 1028 continuous radon monitors from Sun Nuclear, I assumed correctly the manufacturer would only offer Windows software. They said it ran on XP\/2000 and pretty much everything before that, so I figure it would be &hellip; <a href=\"https:\/\/www.schwie.com\/brad\/?p=551\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-551","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=551"}],"version-history":[{"count":8,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/551\/revisions"}],"predecessor-version":[{"id":593,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/551\/revisions\/593"}],"wp:attachment":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}