
{"id":917,"date":"2016-11-28T08:53:19","date_gmt":"2016-11-28T06:53:19","guid":{"rendered":"http:\/\/new.rigexpert.com\/uk\/data-exchange-with-rigexpert-antenna-analyzers\/"},"modified":"2025-12-17T20:59:50","modified_gmt":"2025-12-17T18:59:50","slug":"data-exchange-with-rigexpert-antenna-analyzers","status":"publish","type":"page","link":"https:\/\/old.rigexpert.com\/uk\/data-exchange-with-rigexpert-antenna-analyzers\/","title":{"rendered":"Data exchange with RigExpert antenna analyzers"},"content":{"rendered":"<div>\n<h1>Data exchange with RigExpert antenna analyzers<\/h1>\n<\/div>\n<div>This description applies to RigExpert antenna analyzers.<\/p>\n<ol>\n<li>Manually place the analyzer into the PC mode (or turn it on with USB cable connected to your PC).<\/li>\n<li>Find the corresponding virtual COM port number. This port corresponds to the USB device with VID=0403 and PID=6001. Product descriptor of this device is the model of the analyzer (example: &#8220;RigExpert AA-230PRO&#8221;).<\/li>\n<li>Open COM port with following parameters: 38400, 8N1.<\/li>\n<\/ol>\n<p>All commands are not case-sensitive. Finish a line with either &lt;CR&gt; or &lt;LF&gt; (but not both). When a command is running, sending any character will abort it. Instead of a numerical value, &#8220;nan&#8221; (which stays for &#8220;not a number&#8221;) may be returned if the value cannot be evaluated.<\/p>\n<p>General commands:<\/p>\n<p>Command: @#^@%<br \/>\nResponse: ERROR<br \/>\nDescription: unsupported command<\/p>\n<p>Command: VER<br \/>\nResponse: AA-x y<br \/>\nDescription: returns analyzer type and firmware version<\/p>\n<p>Command: ON<br \/>\nResponse: OK<br \/>\nDescription: turn on the RF board of the analyzer<\/p>\n<p>Command: OFF<br \/>\nResponse: OK<br \/>\nDescription: turn off the RF board of the analyzer<\/p>\n<p>Measurement commands:<\/p>\n<p>Command: FQx<br \/>\nResponse: OK<br \/>\nDescription: set center frequency (in Hz) to x<\/p>\n<p>Command: SWx<br \/>\nResponse: OK<br \/>\nDescription: set sweep range to x Hz<\/p>\n<p>Command: GET<br \/>\nResponse: OK<br \/>\nResponse: n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12<br \/>\nDescription: output 12 ADC values at single frequency<br \/>\n(Internal format, use FRXn instead.)<\/p>\n<p>Command: GTn<br \/>\nResponse: n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12<br \/>\nResponse: &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\nResponse: n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12<br \/>\nResponse: OK<br \/>\nDescription: output these values at n+1 steps (step size is calculated automatically)<br \/>\n(Internal format, use FRXn instead.)<\/p>\n<p>Command: FRXn<br \/>\nResponse: fq,r,x<br \/>\nResponse: &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\nResponse: fq,r,x<br \/>\nResponse: OK<br \/>\nDescription: output frequency (MHz), R and X at n+1 steps (see the detailed description below)<\/p>\n<p>Internal commands (used for testing):<\/p>\n<p>Command: PHx<br \/>\nDescription: set reference DDS phase to x (AA-200, AA-230 and AA-230PRO only)<\/p>\n<p>Command: Kx<br \/>\nDescription: connect AD8302 to antenna (x=0) or 51R load (x=1) (AA-200, AA-230 and AA-230PRO only)<\/p>\n<p>Command: AMx<br \/>\nDescription: set output amplitude to x=0&#8230;1023 (AA-200, AA-230 and AA-230PRO only)<\/p>\n<p>Command: DEx<br \/>\nDescription: set measurement delay to x relative units (x=1000 by default)<\/p>\n<p>Data flash commands:<\/p>\n<p>Command: FLASHR<br \/>\nDescription: read the entire data memory (512K bytes for AA-200, AA-500, AA-230, AA-230PRO, AA-520 and 128K bytes for AA-54)<\/p>\n<p>Command: FLASHRn<br \/>\nDescription: read the memort slot n<br \/>\n(Internal format, use FLASHH and FLASHFRXn instead.)<\/p>\n<p>Command: FLASHW<br \/>\nDescription: write back to the graph memory (512K bytes for AA-200, AA-500, AA-230, AA-230PRO, AA-520 and 128K bytes for AA-54)<\/p>\n<p>Command: FLASHE<br \/>\nDescription: erase all graphs<\/p>\n<p>Command: FLASHS<br \/>\nDescription: reset the analyzer<\/p>\n<p>Graph memory commands (except for AA-30):<\/p>\n<p>Command: FLASHH<br \/>\nResponse: &lt;memory number&gt;,&lt;center fq 1&gt;, &lt;range 1&gt;, &lt;number of points&gt;: &lt;memory 1 name&gt;<br \/>\nResponse: &lt;memory number&gt;,&lt;center fq 2&gt;, &lt;range 2&gt;, &lt;number of points&gt;: &lt;memory 2 name&gt;<br \/>\nResponse: &#8230;<br \/>\nRespinse: OK<br \/>\nDescription: read stored memory headers<\/p>\n<p>Command: FLASHFRXn<br \/>\nResponse: fq,r,x<br \/>\nResponse: &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br \/>\nResponse: fq,r,x<br \/>\nResponse: OK<br \/>\nDescription: read data stored in memory n (the output format is similar to the FRXn command)<\/p>\n<p>Screenshot commands<\/p>\n<p>When a screenshot key combination is pressed, analyzers will return the following:<\/p>\n<p>B&amp;W LCDs:<\/p>\n<div>1) Pattern: the &#8220;screenshot: &#8221; string;<br \/>\n2) Data: 1024 bytes for AA-200\/230\/230PRO\/500\/520 or 1064 bytes for AA-30\/AA-54;<br \/>\n3) &lt;CR&gt;&lt;LF&gt;<\/p>\n<p>Every bit of received data corresponds to a single pixel on the screen, the direction is top-to-bottom and left-to-right.<\/p><\/div>\n<p>AA-1000:<\/p>\n<div>1) Pattern: the &#8220;screenshot: &#8221; string;<br \/>\n2) Data: 76800 words (for each pixel on the screen, 320&#215;240 pixels)<br \/>\n3) &lt;CR&gt;&lt;LF&gt;<\/div>\n<p>AA-1000, compressed format (firmware 405 and up):<\/p>\n<div>1) Pattern: the &#8220;screencomp: &#8221; string;<br \/>\n2) Data: two bytes as pixel color, third byte is length of the same color (covering all 320&#215;240 pixels)<br \/>\n3) &lt;CR&gt;&lt;LF&gt;<\/div>\n<p>Detailed description of the FRX command<\/p>\n<p>This command is originally designed to let programs other than AntScope communicate with RigExpert antenna anlyzers.<\/p>\n<p>Usage:<\/p>\n<ol>\n<li>Send the ON command to turn on the RF board of the analyzer.<\/li>\n<li>Set center frequency with the FQ command.<\/li>\n<li>Set scan range with the SW command.<\/li>\n<li>Send the FRX command and collect data.<\/li>\n<li>Send the OFF command to turn off the RF board of the analyzer.<\/li>\n<\/ol>\n<p>Example:<\/p>\n<p>ON<br \/>\nFQ145000000<br \/>\nSW10000000<br \/>\nFRX10<br \/>\nOFF<\/p>\n<p>Collected data (using AA-230PRO and 2m antenna):<\/p>\n<p>140.000000,58.84,17.28<br \/>\n141.000000,69.74,16.79<br \/>\n142.000000,68.52,5.62<br \/>\n143.000000,62.49,2.79<br \/>\n144.000000,57.51,4.62<br \/>\n145.000000,55.38,9.11<br \/>\n146.000000,56.52,13.56<br \/>\n147.000000,59.40,17.41<br \/>\n148.000000,64.12,20.05<br \/>\n149.000000,71.13,22.01<br \/>\n150.000000,81.57,21.63<\/p>\n<p>Graph of the above data (R=blue, X=red):<\/p>\n<div><img decoding=\"async\" src=\"https:\/\/www.rigexpert.com\/images\/aacom1.gif\" alt=\"\" \/><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Data exchange with RigExpert antenna analyzers This description applies to RigExpert antenna analyzers. Manually place the analyzer into the PC mode (or turn it on with USB cable connected to your PC). Find the corresponding virtual COM &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"content-type":""},"_links":{"self":[{"href":"https:\/\/old.rigexpert.com\/uk\/wp-json\/wp\/v2\/pages\/917"}],"collection":[{"href":"https:\/\/old.rigexpert.com\/uk\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/old.rigexpert.com\/uk\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/old.rigexpert.com\/uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/old.rigexpert.com\/uk\/wp-json\/wp\/v2\/comments?post=917"}],"version-history":[{"count":1,"href":"https:\/\/old.rigexpert.com\/uk\/wp-json\/wp\/v2\/pages\/917\/revisions"}],"predecessor-version":[{"id":45851,"href":"https:\/\/old.rigexpert.com\/uk\/wp-json\/wp\/v2\/pages\/917\/revisions\/45851"}],"wp:attachment":[{"href":"https:\/\/old.rigexpert.com\/uk\/wp-json\/wp\/v2\/media?parent=917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}