{"id":3717,"date":"2019-02-12T16:09:40","date_gmt":"2019-02-12T16:09:40","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/8-smart-instrument-interfaces\/gps\/"},"modified":"2025-08-25T14:54:38","modified_gmt":"2025-08-25T19:54:38","slug":"gps","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/16-smart-instrument-interfaces\/gps\/","title":{"rendered":"gps"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Initialize the system, spawn handlers, and loop to wait for events, sending commands to collect and process GPS data while updating specified variables.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>gps<\/strong> &lt;device_name&gt; &lt;latitude_real_variable_label&gt; &lt;longitude_real_variable_label&gt; &lt;altitude_real_variable_label&gt; &lt;validity_logical_variable&gt; &lt;validity_timeout_in_seconds&gt; &lt;time_string_variable&gt; &lt;date_string_variable&gt;<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table style=\"width: 90.88%; height: 192px;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 22.15%; height: 24px;\">device_name<\/td>\n<td style=\"width: 457.42%; height: 24px;\">Specify the name stem of the device configuration file.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 22.15%; height: 24px;\">latitude_real_variable_label<\/td>\n<td style=\"width: 457.42%; height: 24px;\">Specify the latitude real variable label.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 22.15%; height: 24px;\">longitude_real_variable_label<\/td>\n<td style=\"width: 457.42%; height: 24px;\">Specify the longitude real variable label.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 22.15%; height: 24px;\">altitude_real_variable_label<\/td>\n<td style=\"width: 457.42%; height: 24px;\">Specify the altitude real variable label.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 22.15%; height: 24px;\">validity_logical_variable<\/td>\n<td style=\"width: 457.42%; height: 24px;\">Specify the validity logical variable.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 22.15%; height: 24px;\">validity_timeout_in_seconds<\/td>\n<td style=\"width: 457.42%; height: 24px;\">Specify the validity timeout value in seconds.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 22.15%; height: 24px;\">time_string_variable<\/td>\n<td style=\"width: 457.42%; height: 24px;\">Specify the time string variable.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 22.15%; height: 24px;\">date_string_variable<\/td>\n<td style=\"width: 457.42%; height: 24px;\">Specify the date string variable.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>gps<\/strong> gps1 Lat_var Long_var Alt_var gps_valid 5 g_time g_date<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>Ensure all eight arguments are provided.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p>&nbsp;<\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Initialize the system, spawn handlers, and loop to wait for events, sending commands to collect and process GPS data while updating specified variables. Enter: gps &lt;device_name&gt; &lt;latitude_real_variable_label&gt; &lt;longitude_real_variable_label&gt; &lt;altitude_real_variable_label&gt; &lt;validity_logical_variable&gt; &lt;validity_timeout_in_seconds&gt; &lt;time_string_variable&gt; &lt;date_string_variable&gt; Where: device_name Specify the name stem of the device configuration file. latitude_real_variable_label Specify the latitude real variable label. longitude_real_variable_label Specify the [&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-3717","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3717","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=3717"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3717\/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=3717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}