{"id":16578,"date":"2016-01-10T08:33:02","date_gmt":"2016-01-10T12:33:02","guid":{"rendered":"http:\/\/swling.com\/blog\/?p=16578"},"modified":"2016-01-13T10:37:03","modified_gmt":"2016-01-13T14:37:03","slug":"how-bob-mcgwier-used-a-cray-2-supercomputer-to-decode-a-ham-radio-transmission-heard-in-star-trek-iv","status":"publish","type":"post","link":"https:\/\/swling.com\/blog\/2016\/01\/how-bob-mcgwier-used-a-cray-2-supercomputer-to-decode-a-ham-radio-transmission-heard-in-star-trek-iv\/","title":{"rendered":"How Bob McGwier used a Cray-2 supercomputer to decode a ham radio transmission heard in Star Trek IV"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-16580\" src=\"http:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Startrek4-MoviePoster-Small.jpg\" alt=\"Startrek4-MoviePoster-Small\" width=\"526\" height=\"800\" srcset=\"https:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Startrek4-MoviePoster-Small.jpg 526w, https:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Startrek4-MoviePoster-Small-197x300.jpg 197w\" sizes=\"auto, (max-width: 526px) 100vw, 526px\" \/>In response to <a href=\"http:\/\/swling.com\/blog\/2016\/01\/star-wars-sound-designer-is-indeed-a-radio-enthusiast\/\">our recent post with a message to us from Star Wars sound designer Ben Burtt<\/a>, <em>SWLing Post<\/em> reader, David Guilbeault, comments:<\/p>\n<blockquote><p><a href=\"http:\/\/www.radio-active.net.au\/web3\/Articles\/Humor\/StarTrek\" target=\"_blank\">Here&#8217;s a similar story<\/a> that circulated on the Internet around 1990 (pre WEB!). I worked in packet switching at that time and was very impressed with Bob&#8217;s achievement (even with a CRAY to work with) .<\/p><\/blockquote>\n<p>I reached out to\u00a0Bob McGwier (N4HY), who is a Facebook friend, and he has kindly given us permission to share his message again here and with a few new comments:<\/p>\n<hr \/>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-16697\" src=\"http:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Star-Trek-IV-Cap.jpg\" alt=\"Star-Trek-IV-Cap\" width=\"813\" height=\"356\" srcset=\"https:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Star-Trek-IV-Cap.jpg 813w, https:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Star-Trek-IV-Cap-300x131.jpg 300w, https:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Star-Trek-IV-Cap-768x336.jpg 768w, https:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Star-Trek-IV-Cap-500x219.jpg 500w\" sizes=\"auto, (max-width: 813px) 100vw, 813px\" \/><\/p>\n<h2>Decoding\u00a0HF packets in Star Trek IV<\/h2>\n<p><em>Originally posted on December 4, 1989 by Bob McGwier (N4HY)<\/em><\/p>\n<p style=\"padding-left: 30px;\"><em>Several months ago, Harold Price, NK6K, challenged me to demodulate what he thought might be HF packets in Star Trek IV.<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-16699\" src=\"http:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Chekov-Uhura-Star-Trek-IV.jpg\" alt=\"Chekov-Uhura-Star-Trek-IV\" width=\"800\" height=\"340\" srcset=\"https:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Chekov-Uhura-Star-Trek-IV.jpg 800w, https:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Chekov-Uhura-Star-Trek-IV-300x128.jpg 300w, https:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Chekov-Uhura-Star-Trek-IV-768x326.jpg 768w, https:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Chekov-Uhura-Star-Trek-IV-500x213.jpg 500w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\n<p style=\"padding-left: 30px;\"><em>During the scenes where Scotty is valiantly trying to beam both Chekov and Uhura back from the U.S.S. Enterprise, where they have been stealing Nuclear vessel high speed photons, Scotty is having a hard time hearing them.<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-16698\" src=\"http:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Scotty-Star-Trek-IV.jpg\" alt=\"Scotty-Star-Trek IV\" width=\"800\" height=\"342\" srcset=\"https:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Scotty-Star-Trek-IV.jpg 800w, https:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Scotty-Star-Trek-IV-300x128.jpg 300w, https:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Scotty-Star-Trek-IV-768x328.jpg 768w, https:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Scotty-Star-Trek-IV-500x214.jpg 500w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\n<p><strong>Listen to the audio clip <a href=\"http:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Scotty-Beam-Up-Star-Trek-IV.mp3\" target=\"_blank\">by clicking here<\/a> or using the embedded player below (target sound is at 5 seconds):<\/strong><\/p>\n<audio class=\"wp-audio-shortcode\" id=\"audio-16578-1\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"http:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Scotty-Beam-Up-Star-Trek-IV.mp3?_=1\" \/><a href=\"http:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Scotty-Beam-Up-Star-Trek-IV.mp3\">http:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Scotty-Beam-Up-Star-Trek-IV.mp3<\/a><\/audio>\n<p style=\"padding-left: 30px;\"><em>One of the sources of interference is what appeared to Harold to be HF packet. Always being one to rise to a challenge, I took on the job of doing some fancy Digital Signal Processing footwork. Almost from the first I was certain that it must be an HF packet since my very first demodulator attempt clearly revealed flags before the start of a frame and end of frame was also clear. I knew it was HDLC of some variety.<\/em><\/p>\n<p style=\"padding-left: 30px;\"><em>Several things impeded the effort, including Scotty\u2019s voice on top of the packets, some SSB from 20 meters was also nearly on top of the signal. All of this had to be filtered out. I spent an hour of time on the Cray-2 at work and used the fanciest FSK demodulator I could write and I finally had noisy baseband signal plotted on paper in front of me. I did my best to get an integral number of samples per baud as the signal was very noisy, and though the bits could be made out by eye, I could tell that it was going to take another hour of Cray-2 time to get the clock recovered and to make good bit decisions. In a couple of places, HDLC showed me what were clearly bit errors, and these could be done by eye as well.<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-16700 aligncenter\" src=\"http:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Cray2.jpeg\" alt=\"A Cray-2 operated by NASA. (Source: NASA)\" width=\"371\" height=\"247\" srcset=\"https:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Cray2.jpeg 371w, https:\/\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Cray2-300x200.jpeg 300w\" sizes=\"auto, (max-width: 371px) 100vw, 371px\" \/><\/p>\n<p style=\"padding-left: 30px;\"><em>After the filtering, and building a demodulator for the badly mis-tuned signal (almost 900 Hz below), I took the bits to Phil Karn, KA9Q and he decoded the NRZI data and proved beyond a shadow of a doubt that it was indeed an HF amateur radio packet. It was WA8ZCN-0 sending an RR for NR-3 to N6AEZ on 20 meters. I got Bill Harrigill, WA8ZCN on the phone and he agrees that it was probably him.<\/em><\/p>\n<p style=\"padding-left: 30px;\"><em>Thanks Harold for the challenge and Phil for the help.<\/em><\/p>\n<p style=\"padding-left: 30px;\"><em>Bob N4HY<\/em><\/p>\n<p style=\"padding-left: 30px;\"><em>P.S. A Cray-2 is about 50% faster than the fastest Pentium-Pro computer available today.<\/em><\/p>\n<p>Again, keep in mind that the message above dates from 1989! This past week, Bob added the following comment when I contacted him:<\/p>\n<p style=\"padding-left: 30px;\"><em>The Cray Supercomputer on which the work was done was being operated on behalf of the National Security Agency by my research institute.<\/em><\/p>\n<p style=\"padding-left: 30px;\"><em>I received permission to &#8220;to test optimal algorithms for software decoding of FSK transmissions&#8221; and this was my test case!!!!<\/em><\/p>\n<p style=\"padding-left: 30px;\"><em>That is why Phil Karn was decoding the AX.25 bits by hand. I did not have permission to develop link layer protocol code, though I tried.<\/em><\/p>\n<p style=\"padding-left: 30px;\"><em>A few years later when half the bad guys in the world seemed to be using AX.25 and cheap ham gear I said &#8220;See, I told you so several years ago and you didn&#8217;t listen&#8221;.<\/em><\/p>\n<p style=\"padding-left: 30px;\"><em>I used that transmission in so many different ways I no longer remember them all.<\/em><\/p>\n<p>That&#8217;s fantastic, Bob, and so great to know the back story on your decoding process! Thank you again for sharing this with us!<\/p>\n<p>Star Trek fans can find the scene Bob references starting around time mark 1:12 in the film.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In response to our recent post with a message to us from Star Wars sound designer Ben Burtt, SWLing Post reader, David Guilbeault, comments: Here&#8217;s a similar story that circulated on the Internet around 1990 (pre WEB!). I worked in packet switching at that time and was very impressed with Bob&#8217;s achievement (even with a [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[508,1114,545,3,305,43],"tags":[4595,4633,4635,4638,4637,4639,4596,4634,4636],"class_list":["post-16578","post","type-post","status-publish","format-standard","hentry","category-art-2","category-digital-modes","category-ham-radio","category-news","category-nostalgia","category-shortwave-radio","tag-ben-burtt","tag-bob-mcgwier-n4hy","tag-decoding-star-trek-iv","tag-sci-fi","tag-science-fiction","tag-shortwave-and-sci-fi","tag-star-trek","tag-star-trek-iv","tag-star-trek-sounds"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pn3uc-4jo","jetpack-related-posts":[{"id":16517,"url":"https:\/\/swling.com\/blog\/2016\/01\/star-wars-sound-designer-is-indeed-a-radio-enthusiast\/","url_meta":{"origin":16578,"position":0},"title":"Star Wars sound designer is, indeed, a radio enthusiast","author":"Thomas","date":"January 2, 2016","format":false,"excerpt":"SWLing Post readers may remember a post I recently published\u00a0in which I believed I'd identified a familiar shortwave time signal station in the Battle of Hoth scene from The Empire Strikes Back. If you haven't read this post, feel free to do so and listen to the embedded video\/audio clips.\u2026","rel":"","context":"In &quot;Art&quot;","block_context":{"text":"Art","link":"https:\/\/swling.com\/blog\/category\/art-2\/"},"img":{"alt_text":"StarWars-Logo","src":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/StarWars-Logo.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/StarWars-Logo.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/StarWars-Logo.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/StarWars-Logo.jpg?resize=700%2C400 2x"},"classes":[]},{"id":31861,"url":"https:\/\/swling.com\/blog\/2018\/05\/sound-designer-ben-burtt-reveals-radios-influence-in-star-wars-films\/","url_meta":{"origin":16578,"position":1},"title":"Sound Designer Ben Burtt Reveals Radio&#8217;s Influence in Star Wars films","author":"Thomas","date":"May 4, 2018","format":false,"excerpt":"Today is popularly known as\u00a0Star Wars Day\u2013\u2013and I'm reminded of one of my favorite posts, featuring Star Wars sound designer, Ben Burtt, who to my surprise, contacted me to answer a question I published here on the SWLing Post.\u00a0 Once again, here it is. Enjoy!\u00a0 And \"May the fourth be\u2026","rel":"","context":"In &quot;News&quot;","block_context":{"text":"News","link":"https:\/\/swling.com\/blog\/category\/news\/"},"img":{"alt_text":"StarWars-Logo","src":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/StarWars-Logo.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/StarWars-Logo.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/StarWars-Logo.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/StarWars-Logo.jpg?resize=700%2C400 2x"},"classes":[]},{"id":50421,"url":"https:\/\/swling.com\/blog\/2021\/10\/radio-waves-fm-cb-radio-listeners-in-zimbabwe-tom-clark-sk-and-saq-grimeton-un-day-transmission\/","url_meta":{"origin":16578,"position":2},"title":"Radio Waves: FM CB, Radio Listeners in Zimbabwe, Tom Clark SK, and SAQ Grimeton UN-Day Transmission","author":"Thomas","date":"October 4, 2021","format":false,"excerpt":"Radio Waves:\u00a0 Stories Making Waves in the World of Radio Because I keep my ear to the waves, as well as receive many tips from others who do the same, I find myself privy to radio-related stories that might interest\u00a0SWLing Post\u00a0readers.\u00a0 To that end:\u00a0Welcome to the\u00a0SWLing Post\u2019s Radio Waves, a\u2026","rel":"","context":"In &quot;AM&quot;","block_context":{"text":"AM","link":"https:\/\/swling.com\/blog\/category\/am\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2021\/08\/Mount-Pisgah-Tower-1.jpeg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2021\/08\/Mount-Pisgah-Tower-1.jpeg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2021\/08\/Mount-Pisgah-Tower-1.jpeg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2021\/08\/Mount-Pisgah-Tower-1.jpeg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":51569,"url":"https:\/\/swling.com\/blog\/2022\/01\/chu-time-station-heard-in-the-book-of-boba-fett\/","url_meta":{"origin":16578,"position":3},"title":"CHU Time Station heard in &#8220;The Book of Boba Fett&#8221;","author":"Thomas","date":"January 20, 2022","format":false,"excerpt":"Many thanks to SWLing Post contributor, Fred Waterer, who shares a link to the following video from the new series The Book of Boba Fett. Note that the quality of this video is rather poor, no doubt to keep it from being pulled off of YouTube for copyright violation: https:\/\/youtu.be\/nNdmhpHSxvs\u2026","rel":"","context":"In &quot;News&quot;","block_context":{"text":"News","link":"https:\/\/swling.com\/blog\/category\/news\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2022\/01\/Battle-of-Hoth-Empire-Strikes-Back-1.jpeg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2022\/01\/Battle-of-Hoth-Empire-Strikes-Back-1.jpeg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2022\/01\/Battle-of-Hoth-Empire-Strikes-Back-1.jpeg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2022\/01\/Battle-of-Hoth-Empire-Strikes-Back-1.jpeg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":16644,"url":"https:\/\/swling.com\/blog\/2016\/01\/avengers-age-of-ultron-scene-is-that-a-hallicrafters-receiver\/","url_meta":{"origin":16578,"position":4},"title":"Avengers &#8216;Age of Ultron&#8217; scene: is that a Hallicrafters receiver?","author":"Thomas","date":"January 11, 2016","format":false,"excerpt":"With the recent posts about shortwave radio in films (Star Wars and Star Trek),\u00a0I remembered a scene from Avengers: Age of Ultron where I thought I spotted a vintage Hallicrafters receiver. In the scene, Hawkeye (Jeremy Renner) is using an \"old school spy method\" to find the whereabouts of Black\u2026","rel":"","context":"In &quot;Art&quot;","block_context":{"text":"Art","link":"https:\/\/swling.com\/blog\/category\/art-2\/"},"img":{"alt_text":"Avengers-Ultron-Hallicrafters-Radios-1","src":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Avengers-Ultron-Hallicrafters-Radios-1-1024x432.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Avengers-Ultron-Hallicrafters-Radios-1-1024x432.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2016\/01\/Avengers-Ultron-Hallicrafters-Radios-1-1024x432.jpg?resize=525%2C300 1.5x"},"classes":[]},{"id":16385,"url":"https:\/\/swling.com\/blog\/2015\/12\/first-amateur-radio-in-geosynchronous-orbit-will-aid-disaster-communications\/","url_meta":{"origin":16578,"position":5},"title":"First Amateur Radio in Geosynchronous Orbit Will Aid Disaster Communications","author":"Robert Gulley","date":"December 22, 2015","format":false,"excerpt":"Could it be we will have a true geosynchronous satellite for Amateurs in 2017?! I hope so, and we will not need an antenna this big to use it! This was first reported in Wireless Design Magazine Researchers at the Ted and Karyn Hume Center for National Security and Technology\u2026","rel":"","context":"In &quot;Ham Radio&quot;","block_context":{"text":"Ham Radio","link":"https:\/\/swling.com\/blog\/category\/ham-radio\/"},"img":{"alt_text":"GreenBankTelescope","src":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2015\/05\/GreenBankTelescope.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2015\/05\/GreenBankTelescope.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2015\/05\/GreenBankTelescope.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/swling.com\/blog\/wp-content\/uploads\/2015\/05\/GreenBankTelescope.jpg?resize=700%2C400 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/swling.com\/blog\/wp-json\/wp\/v2\/posts\/16578","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swling.com\/blog\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/swling.com\/blog\/wp-json\/wp\/v2\/comments?post=16578"}],"version-history":[{"count":0,"href":"https:\/\/swling.com\/blog\/wp-json\/wp\/v2\/posts\/16578\/revisions"}],"wp:attachment":[{"href":"https:\/\/swling.com\/blog\/wp-json\/wp\/v2\/media?parent=16578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swling.com\/blog\/wp-json\/wp\/v2\/categories?post=16578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swling.com\/blog\/wp-json\/wp\/v2\/tags?post=16578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}