Elecraft KX3 Basic Programming | AlphaPapaCharlie WebFontConfig = {"typekit":{"id":"iwf8vmz"}}; (function() { var wf = document.createElement('script'); wf.src = 'https://s1.wp.com/wp-content/plugins/custom-fonts/js/webfont.js'; wf.type = 'text/javascript'; wf.async = 'true'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wf, s); })(); .wf-active #site-title{font-family:"museo-sans-1","museo-sans-2",sans-serif;font-size:25.8px;font-style:normal;font-weight:700}.wf-activeࡆ #site-title a{font-weight:700;font-style:normal}.wf-active body, .wf-active input, .wf-active textarea{font-family:"museo-sans-1","museo-sans-2",sans-serif}.wf-active h1, .wf-active h2, .wf-active h3, .wf-active h4, .wf-active h5, .wf-active h6{font-family:"museo-sans-1","museo-sans-2",sans-serif;font-weight:700;font-style:normal}.wf-active h1{font-size:23.5px;font-style:normal;font-weight:700}.wf-active h2{font-size:21.3px;font-style:normal;font-weight:700}.wf-active h3{font-size:19px;font-style:normal;font-weight:700}.wf-active h4{font-size:16.8px;font-style:normal;font-weight:700}.wf-active h5{font-size:14.6px;font-style:normal;font-weight:700}.wf-active h6{font-size:13.4px;font-style:normal;font-weight:700}.wf-active .box h1{font-size:17.9px;font-style:normal;font-weight:700}.wf-active .post_title h1, .wf-active .post_title h2{font-size:30.2px;font-style:normal;font-weight:700}.wf-active .entry-title, .wf-active .page-title{font-size:26.9px;font-style:normal;font-weight:700}.wf-active .comment-body th, .wf-active .entry-content th{font-size:13.4px;font-weight:700;font-style:normal}.wf-active #comments-title{font-size:23.5px;font-style:normal;font-weight:700}.wf-active .widget-title{font-size:16.8px;font-style:normal;font-weight:700} /* */ /* */ window._wpemojiSettings = {"baseUrl":"https:\/\/s0.wp.com\/wp-content\/mu-plugins\/wpcom-smileys\/twemoji\/2\/72x72\/","ext":".png","svgUrl":"https:\/\/s0.wp.com\/wp-content\/mu-plugins\/wpcom-smileys\/twemoji\/2\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/s1.wp.com\/wp-includes\/js\/wp-emoji-release.min.js?m=1473172720h&ver=4.6.1-RC1-38499"}}; !function(a,b,c){function d(a){var c,d,e,f,g,h=b.createElement("canvas"),i=h.getContext&&h.getContext("2d"),j=String.fromCharCode;if(!i||!i.fillText)return!1;switch(i.textBaseline="top",i.font="600t 32px Arial",a){case"flag":return i.fillText(j(55356,56806,55356,56826),0,0),!(h.toDataURL().length<3e3)&&(i.clearRect(0,0,h.width,h.height),i.fillText(j(55356,57331,65039,8205,55356,57096),0,0),c=h.toDataURL(),i.clearRect(0,0,h.width,h.height),i.fillText(j(55356,57331,55356,57096),0,0),d=h.toDataURL(),c!==d);case"diversity":return\ i.fillText(j(55356,57221),0,0),e=i.getImageData(16,16,1,1).data,f=e[0]+","+e[1]+","+e[2]+","+e[3],i.fillText(j(55356,57221,55356,57343),0,0),e=i.getImageData(16,16,1,1).data,g=e[0]+","+e[1]+","+e[2]+","+e[3],f!==g;case"simple":returne i.fillText(j(55357,56835),0,0),0!==i.getImageData(16,16,1,1).data[0];case"unicode8":return, i.fillText(j(55356,57135),0,0),0!==i.getImageData(16,16,1,1).data[0];case"unicode9":return| i.fillText(j(55358,56631),0,0),0!==i.getImageData(16,16,1,1).data[0]}return!1}function" e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}vare f,g,h,i;for(i=Array("simple","flag","unicode8","diversity","unicode9"),c.supports={everything:!0,everythingExceptFlag:!0},h=0;h */ /* a, .menu ul .current_page_ancestor > a, .menu ul .current-menu-item > a, .menu ul .current-menu-ancestor > a, #nav-above a:hover, #footer a:hover, .entry-meta a:hover, .widget_flickr #flickr_badge_uber_wrapper a:hover, .widget_flickr #flickr_badge_uber_wrapper a:link, .widget_flickr #flickr_badge_uber_wrapper a:active, .widget_flickr #flickr_badge_uber_wrapper a:visited { color: #f05133; } .infinite-scroll #infinite-handle:hover span { background: #f05133; } .infinite-scroll .infinite-loader { color: #f05133; } blockquote { border-color: #f05133; } .box .texts { border: 20px solid #f05133; background: #f05133; } /* ]]> */ /* */ .recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;} .recentcomments a { display: inline !important; padding: 0 !important; margin: 0 !important; } table.recentcommentsavatartop img.avatar, table.recentcommentsavatarend img.avatar { border: 0px; margin: 0; } table.recentcommentsavatartop a, table.recentcommentsavatarend a { border: 0px !important; background-color: transparent !important; } td.recentcommentsavatarend, td.recentcommentsavatartop { padding: 0px 0px 1px 0px; margin: 0px; } td.recentcommentstextend { border: none !important; padding: 0px 0px 2px 10px; } .rtl td.recentcommentstextend { padding: 0px 10px 2px 0px; } td.recentcommentstexttop { border: none; padding: 0px 0px 0px 10px; } .rtl td.recentcommentstexttop { padding: 0px 10px 0px 0px; } #header:after { /* Prevent taller custom header images from bumping against the bottom border on #header. */ clear: both; content: ""; display: block; margin-bottom: 40px; } #branding { min-height: 150px; padding: 10px; width: 190px; } #site-title, #site-description { position: absolute !important; clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ clip: rect(1px, 1px, 1px, 1px); } body.custom-background { background-color: #4F4F4F; background-image: url('https://alphapapacharlie.files.wordpress.com/2014/07/background.jpg'); background-repeat: repeat; background-position: top center; background-attachment: scroll; } .box .texts{border-style:solid;border-width:20px}.box .texts .categories a,.box .texts a,.box .texts .posted,.box .texts .posted a{color:#fff}body{background-color:#4f4f4f}a,.menu a:hover,.menu ul a:hover,.menu ul .current_page_item>a,.menu ul .current_page_ancestor>a,.menu ul .current-menu-item>a,.menu ul .current-menu-ancestor>a,#nav-above a:hover,#footer a:hover,.entry-meta a:hover,.widget_flickr #flickr_badge_uber_wrapper a:hover,.widget_flickr #flickr_badge_uber_wrapper a:link,.widget_flickr #flickr_badge_uber_wrapper a:active,.widget_flickr #flickr_badge_uber_wrapper a:visited{color:#202020}.box .texts,.fetch:hover{background:#202020}blockquote,.box .texts{border-color:#202020}.menu ul a,#reply-title,.entry-title,.page-title,.post_title,.post_title h1,.post_title h2,#comments-title,#site-title a,#site-title,.widget-title a,.widget-title,.box h1,.box h1 a{color:#db0019}.entry-content table,.entry-content td,.comment-body td,.comment-body table,#header,#footer,.commentlist li>div,.commentlist .pingback,.comment-content,#featured-posts,input[type=text],input[type=email],input[type=password],textarea{border-color:#ff001e}.entry-contentr table,.entry-content td,.comment-body td,.comment-body table,#header,#footer,.commentlist li>div,.commentlist .pingback,.comment-content,#featured-posts,input[type=text],input[type=email],input[type=password],textarea{border-color:rgba(255,0,30,.2)}hr,.commentlistu li.bypostauthor>div{background-color:#ff001e}hr,.commentlist li.bypostauthor>div{background-color:rgba(255,0,30,.2)} .tk-museo-sans{font-family:"museo-sans-1","museo-sans-2",sans-serif;}@font-face{font-family:museo-sans-1;src:url(https://use.typekit.net/af/736167/00000000000000000000e7fe/27/d?subset_id=2&fvd=n3)e format("woff");font-weight:300;font-style:normal;}@font-face{font-family:museo-sans-1;src:url(https://use.typekit.net/af/afd626/00000000000000000000e802/27/d?subset_id=2&fvd=i3)t format("woff");font-weight:300;font-style:italic;}@font-face{font-family:museo-sans-1;src:url(https://use.typekit.net/af/585dc6/00000000000000000000e805/27/d?subset_id=2&fvd=n7), format("woff");font-weight:700;font-style:normal;}@font-face{font-family:museo-sans-1;src:url(https://use.typekit.net/af/f4329b/00000000000000000000e806/27/d?subset_id=2&fvd=i7)p format("woff");font-weight:700;font-style:italic;} AlphaPapaCharlie Android Mobile Apps For Ham Radio 817 Companion Morse Machine WSPR Beacon QRSS Beacon KX3 Companion FULL KX3 Companion FREE KX3 KeyAPP KX3 KeyApp Templates Development Blog Forum Contact Me Search for: Elecraft KX3 Basic Programming 4 comments Hi everyone, here’s a brief list of common commands with explanations of the Elecraft K3/KX3 programming language. For a detailed reference please read the official “Elecraft K3 and KX3 Programmer’s Reference” manual that can be found here: http://www.elecraft.com/manual/K3&KX3%20Pgmrs%20Ref,%20E11.pdf Each command consists of a command code and optionally a numeric/alphanumeric value. This is usually needed when you are setting or sending values. All the command have to end with a semi column (;). I’ll be explaining how to set/send things for your KX3 KeyApp buttons/switches. MODEs (Command: MD) MD1; Sets LSB Mode MD2; Sets USB Mode MD3; Sets CW Mode MD4; Sets FM Mode MD5; Sets AM Mode MD6; Sets DATA Mode MD7; Sets CW REV Mode MD8; Sets DATA REV Mode Mode 6 (MD6) is used in conjuction with the DT command to set the sub mode (DATA A/AFSK A/FSK D/PSK D) MD6;DT0; Sets DATA A MD6;DT1; Sets AFSK A MD6;DT0; Sets FSK A MD6;DT0; Sets FSK D MD6;DT0; Sets PSK D FREQUENCY (Commands: FA and FB) FA sets the frequency for VFO A FB sets the frequency for VFO B The number has to be an 11 chars number Examples: to set VFO A frequency to 7.070 Mhz FA00007070000; to set VFO B frequency to 14.200 Mhz FB00014200000; POWER OUT (Command: PC) PC000; Sets Power to 0W PC001; Sets Power to 1W PC005; Sets Power to 5W PC010; Sets Power to 10W PC100; Sets Power to 100W FILTER BANDWIDTH (Command: BW) BW0150; Sets filter bandwidth to 1500Hz BW0070; Sets filter bandwidth to 700Hz BW0005; Sets filter bandwidth to 50Hz BUTTON/SWITCH EMULATION (Command: SWH/SWT) SWT stands for Switch emulation TAP SWH stands for Switch emulation HOLD After the SWT/SWH you have to put a two number code based on the following table SWT: 08 BAND+ 41 BAND- 10 FREQ ENT 11 MSG (<-) 44 ATU TUNE (.) 16 XMIT (0) 32 AF/RF-SQL (7) 19 PRE (1) 27 ATTN (2) 20 APF (3) 28 SPOT (4) 21 CMP (5) 29 DLY (6) 33 PBT I/II (8) 14 MODE 17 DATA 18 RIT 12 RATE 34 KEYER/MIC (9) 24 A/B 25 A->B 26 XIT 09 DISP 35 OFS/B SWH: 08 RCL 41 STORE 10 SCAN 11 REC 44 ANT 16 TUNE 32 MON 19 NR 27 NB 20 NTCH 28 CWT 21 PITCH 29 VOX 33 NORM 14 ALT 17 TEXT 18 PF1 12 KHZ 34 PWR 24 REV (FM/RPT) 25 SPLIT 26 PF2 09 MENU 35 CRL So, for example, to switch one band up (BAND+) the command is: SWT08; To start the ATU auto tuning (ATU TUNE) the command is: SWT44; To enable/disable text decoding the, command is: SWH17; MENU SELECTION (Commands: MN, MP) They let read/write options value in the options menu. There’s a table with all the table codes at page 17 of the above linked manual. So for example, if you want to turn Off the backlight, the command is: MN138;MP001;MN255; Let’s see what that means: MN138; is to recall the BACKLIGHT option (see table on page 17 of the Programmer’s Reference PDF) MP001; sets the value to ON MN255; exits the menu. Remember to always add that when you’re done with the menu options! Most of the options require byte values. If you want an easy way to know what to send based on each of the possible options you can set it manually on the KX3 and then READ the MP value for the selected value option with the Elecraft Utility. For example if you want to know the MP value for BACKLIGHT ON: in the KX3 manually set to option to BACKLIGHT ON open the KX3 Utility go in the terminal tab MN138;MP; the result will be the MP value you’ll have to put to have the same effect. SEND MESSAGE (Command: KY) KY MESSAGE; or KYWMESSAGE; are the commands to be used to send CW/PSK/RTTY messages. To send a CQ message the code is: KYWCQ CQ DE IU4APC SK; The W tells the KX3 to wait for the message to be sent before elaborating what’s after the “;” (command may be concatenated). Also remember that there’s a limit in the number of chars after the KY(W) command of 26 chars. So if you want to send a longer message you have to split the message in multiple KY(W) commands. For example, to send “CQ CQ CQ DE IU4APC IU4APC IU4APC CQ PSE K” (41 chars) KYWCQ CQ CQ DE IU4APC IU4APC;KYW IU4APC CQ PSE K; All the commands can be concatenated. So for example if you want to switch frequency to 7.070Mhz, change mode to CW and send a CQ message: FA00007070000;MD1;KYWCQ CQ DE IU4APC SK; One more thing… I suggest you to change mode AFTER a change of frequency. Share this: Email Twitter Google Facebook Print Like this: Like Loading... 4 comments adamcurry August 6, 2014 at 21:28 Reply This is really helpful Andrea! I’ve spent the afternoon stringing up my new G5RV antenna, bands are iffy atm, cant wait to try the app with my first customized templates later tonite! Like Like Andrea IU4APC August 6, 2014 at 21:36 Reply Thanks Adam! I’ll try to add things tomorrow, like how to change the WPM and other stuff like that. I’ll try to cover at least all the commands I used in my templates. G5RV is a nice antenna! Yesterday I setup a random wire one directly attached to the KX3 The easiest antenna you can do and made some WSPR with it and I’m always impressed how good the KX3 is able to make it work!! I just ordered a 10m GRP pole “MINI” from dx-wire.de to be used with the HyEndFed QRP antenna I have. So that I can use as a semi-fixed setup and do some extensive test. I’m curious to see how much better it performs respect my quick and dirty long random wire. We’ll see. Like Like Yvon December 20, 2014 at 05:09 Reply Hi Andrea, do you plan to port your apps to the iPad? great job you did. Like Like Andrea IU4APC December 20, 2014 at 07:31 Reply Thanks. Yes I have plans for that, but not much time I’ll try to have something out as soon as possible. If you want to be updated about my development you can follow my blog here: http://kx3companion.com/category/blog/ 72/73, Andrea IU4APC Like Like Leave a Reply Cancel reply Enter your comment here...Enter your comment here... Fill in your details below or click an icon to log in: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. ( Log Out / Change ) You are commenting using your Twitter account. ( Log Out / Change ) You are commenting using your Facebook account. ( Log Out / Change ) You are commenting using your Google+ account. ( Log Out / Change ) Cancel Connecting to %s var highlander_expando_javascript = function(){ var input = document.createElement( 'input' ), comment = jQuery( '#comment' ); if ( 'placeholder' in input ) { comment.attr( 'placeholder', jQuery( '.comment-textarea label' ).remove().text() ); } // Expando Mode: start small, then auto-resize on first click + text length jQuery( '#comment-form-identity' ).hide(); jQuery( '#comment-form-subscribe' ).hide(); jQuery( '#commentform .form-submit' ).hide(); comment.css( { 'height':'10px' } ).one( 'focus', function() { var timer = setInterval( HighlanderComments.resizeCallback, 10 ) jQuery( this ).animate( { 'height': HighlanderComments.initialHeight } ).delay( 100 ).queue( function(n) { clearInterval( timer ); HighlanderComments.resizeCallback(); n(); } ); jQuery( '#comment-form-identity' ).slideDown(); jQuery( '#comment-form-subscribe' ).slideDown(); jQuery( '#commentform .form-submit' ).slideDown(); }); } jQuery(document).ready( highlander_expando_javascript ); Notify me of new comments via email. Notify me of new posts via email. Create a free website or blog at WordPress.com. Recent Posts 817 Companion Morse Machine WSPR Beacon KX3 Companion FULL KX3 KeyAPP Recent Comments Brian Bridson on Morse Machine Fred on Morse Machine Ben on Morse Machine Daniel Solé on Morse Machine Andrea IU4APC on Morse Machine App Store KX3 Companion FREE App KX3 Companion FULL App KX3 KeyApp QRSS Beacon App My Websites IU4APC Blog KX3 Companion Website Follow Blog via Email Enter your email address to follow this blog and receive notifications of new posts by email. Join 342 other followers /* */ //initialize and attach hovercards to all gravatars jQuery( document ).ready( function( $ ) { if (typeof Gravatar === "undefined"){ return; } if ( typeof Gravatar.init !== "function" ) { return; } Gravatar.profile_cb = function( hash, id ) { WPGroHo.syncProfileData( hash, id ); }; Gravatar.my_hash = WPGroHo.my_hash; Gravatar.init( 'body', '#wp-admin-bar-my-account' ); }); /* */ window.WPCOM_sharing_counts = {"https:\/\/alphapapacharlie.com\/elecraft-kx3-basic-programming\/":98}; var windowOpen; jQuery(document).on( 'ready post-load', function(){ jQuery( 'a.share-twitter' ).on( 'click', function() { if ( 'undefined' !== typeof windowOpen ){ // If there's another sharing window open, close it. windowOpen.close(); } windowOpen = window.open( jQuery(this).attr( 'href' ), 'wpcomtwitter', 'menubar=1,resizable=1,width=600,height=350' ); return false; }); }); var windowOpen; jQuery(document).on( 'ready post-load', function(){ jQuery( 'a.share-google-plus-1' ).on( 'click', function() { if ( 'undefined' !== typeof windowOpen ){ // If there's another sharing window open, close it. windowOpen.close(); } windowOpen = window.open( jQuery(this).attr( 'href' ), 'wpcomgoogle-plus-1', 'menubar=1,resizable=1,width=480,height=550' ); return false; }); }); var windowOpen; jQuery(document).on( 'ready post-load', function(){ jQuery( 'a.share-facebook' ).on( 'click', function() { if ( 'undefined' !== typeof windowOpen ){ // If there's another sharing window open, close it. windowOpen.close(); } windowOpen = window.open( jQuery(this).attr( 'href' ), 'wpcomfacebook', 'menubar=1,resizable=1,width=600,height=400' ); return false; }); }); /* */ /* ","canManageOptions":"","canCustomizeSite":"","isFollowing":"","themeSlug":"pub\/imbalance2","signupURL":"https:\/\/wordpress.com\/start\/","loginURL":"https:\/\/alphapapacharlie.wordpress.com\/wp-login.php?redirect_to=https%3A%2F%2Falphapapacharlie.com%2Felecraft-kx3-basic-programming%2F","themeURL":"","xhrURL":"https:\/\/alphapapacharlie.com\/wp-admin\/admin-ajax.php","nonce":"50978ec19c","isSingular":"1","isFolded":"","isLoggedIn":"","isMobile":"","subscribeNonce":"","referer":"https:\/\/alphapapacharlie.com\/elecraft-kx3-basic-programming\/","canFollow":"1","statusMessage":"","customizeLink":"https:\/\/alphapapacharlie.wordpress.com\/wp-admin\/customize.php?url=https%3A%2F%2Falphapapacharlie.wordpress.com%2Felecraft-kx3-basic-programming%2F","postID":"98","shortlink":"http:\/\/wp.me\/P4RKVG-1A","canEditPost":"","editLink":"https:\/\/wordpress.com\/page\/alphapapacharlie.com\/98","i18n":{"view":"View" Site","follow":"Follow","following":"Following","edit":"Edit","login":"Log In","signup":"Sign Up","customize":"Customize","report":"Report this content","themeInfo":"Get theme: Imbalance 2","shortlink":"Copy shortlink","copied":"Copied","followedText":"New posts from this site will now appear in your Reader<\/a>","foldBar":"Collapse this bar","unfoldBar":"Expand this bar","editFollows":"Manage Sites I Follow","editSubs":"Manage Subscriptions","viewReader":"View Site in the Reader","subscribe":"Sign me up","enterEmail":"Enter your email address","followers":"Join 342 other followers","alreadyUser":"Already have a WordPress.com account? Log\ in now.<\/a>"}}; /* ]]> */ /* */ Follow AlphaPapaCharlie Customize Follow Sign Up Log In Copy shortlink Manage Subscriptions Collapse this bar // var skimlinks_pub_id = "725X584219" var skimlinks_sitename = "alphapapacharlie.wordpress.com"; %d bloggers like this: var _comscore = _comscore || []; _comscore.push({ c1: "2", c2: "7518284" }); (function() { var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true; s.src = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js"; el.parentNode.insertBefore(s, el); })();

_tkq = window._tkq || []; _stq = window._stq || []; _tkq.push(['storeContext', {'blog_id':'71917128','blog_tz':'1','user_lang':'en','blog_lang':'en','user_id':'0'}]); _stq.push(['view', {'blog':'71917128','v':'wpcom','tz':'1','user_id':'0','post':'98','subd':'alphapapacharlie'}]); _stq.push(['extra', {'crypt':'UE40eW5QN0p8M2Y/RE1LVmwrVi5vQS5fVFtfdHBbPyw1VXIrU3hWLHhzVndTdktBX0ddJnpXRjVaOTd6fj1YMX4ydzRUSk0wbVRfODlnNUZzfnRUNnRwbUNrNW05dlVUTUYlVD09YS1fM2lfKy1xRUs/UDdyRGtEZEloJm96fl9jRm9KWGdILTBmL1R2UVg2bk0lVHFCY2hJc0l5WUQ4NFBIfHAlJWF3dEpuYTlKcCUwK2lQQzl3S01LcFhPW29ISmNyVXk/Q2ctdjg3fm5+SDJSNHl+PUJHLlQ/d0Vmc3BRW05mN2E/YThXQitWM1JdQnJXbHJoP342bmdxN0tbdUhdPTYsTm9mOCtIJUElQTQlLnBEODR4Vz8yTUcrYjJvRnFEQzRUWzNaPXwlRyt5NzlBSA=='}]); _stq.push([ 'clickTrackerInit', '71917128', '98' ]); if ( 'object' === typeof wpcom_mobile_user_agent_info ) { wpcom_mobile_user_agent_info.init(); var mobileStatsQueryString = ""; if( false !== wpcom_mobile_user_agent_info.matchedPlatformName ) mobileStatsQueryString += "&x_" + 'mobile_platforms' + '=' + wpcom_mobile_user_agent_info.matchedPlatformName; if( false !== wpcom_mobile_user_agent_info.matchedUserAgentName ) mobileStatsQueryString += "&x_" + 'mobile_devices' + '=' + wpcom_mobile_user_agent_info.matchedUserAgentName; if( wpcom_mobile_user_agent_info.isIPad() ) mobileStatsQueryString += "&x_" + 'ipad_views' + '=' + 'views'; if( "" != mobileStatsQueryString ) { new Image().src = document.location.protocol + '//pixel.wp.com/g.gif?v=wpcom-no-pv' + mobileStatsQueryString + '&baba=' + Math.random(); } } Send to Email Address Your Name Your Email Address document.getElementById('jetpack-source_f_name').value = ''; Cancel Post was not sent - check your email addresses! Email check failed, please try again Sorry, your blog cannot share posts by email.