{"id":3306,"date":"2019-02-12T16:09:00","date_gmt":"2019-02-12T16:09:00","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/8-smart-instrument-interfaces\/aks_tst\/"},"modified":"2025-08-20T10:24:30","modified_gmt":"2025-08-20T15:24:30","slug":"aks_tst","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/16-smart-instrument-interfaces\/aks_tst\/","title":{"rendered":"AKs_tst"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Send a command to an AK device via the AK_sync handler based on provided arguments.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>AKs_tst<\/strong> &lt;instrument_name&gt; &lt;command_string&gt;<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table style=\"width: 100%;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td style=\"width: 20.31%;\">\n<p>instrument_name<\/p>\n<\/td>\n<td style=\"width: 79.54%;\">\n<p>Specify the label for the device.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20.31%;\">\n<p>command_string<\/p>\n<\/td>\n<td style=\"width: 79.54%;\">\n<p>Specify the command string to send which can be &#8216;exit&#8217;, &#8216;reset&#8217;, or an AK command string.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>AKs_tst<\/strong> AVL483 &#8220;AKEN Deviceid @StringVar AKSerialN&#8221;<br \/>\nGet device id, firmware rev to variable at string variable, and serial number.<\/p>\n<p><strong>AKs_tst<\/strong> AVL483 &#8220;AKEN &#8211; &#8211; -&#8220;<br \/>\nSend command to get device ID, but do not do anything with returned data.<\/p>\n<p><strong>AKs_tst<\/strong> AVL483 reset<br \/>\nTell AK_sync to reconfig its pointers to the CyFlex variables.<\/p>\n<p><strong>AKs_tst<\/strong> AVL483 exit<br \/>\nTell AK_sync to exit, closing access to the AK device.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>The &#8216;reset&#8217; command in the code sets the same internal command as &#8216;exit&#8217;, which may not perform a reset as described.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p><a href=\"https:\/\/cyflex.com\/index.php\/usage-help-manual\/16-smart-instrument-interfaces\/ak_sync\/\">AK_sync,<\/a> <a href=\"\/wp-content\/uploads\/Device-Communication-User-Guide.pdf\">Device Communication User Guide<\/a>\u00a0<\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Send a command to an AK device via the AK_sync handler based on provided arguments. Enter: AKs_tst &lt;instrument_name&gt; &lt;command_string&gt; Where: instrument_name Specify the label for the device. command_string Specify the command string to send which can be &#8216;exit&#8217;, &#8216;reset&#8217;, or an AK command string. Example: AKs_tst AVL483 &#8220;AKEN Deviceid @StringVar AKSerialN&#8221; Get device id, [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1955,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3306","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3306","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=3306"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3306\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1955"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}