{"id":3470,"date":"2019-02-12T16:09:15","date_gmt":"2019-02-12T16:09:15","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/1-utilities-and-user-commands\/changeunits\/"},"modified":"2025-12-04T10:44:18","modified_gmt":"2025-12-04T15:44:18","slug":"changeunits","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/9-data-collection-data-logging\/changeunits\/","title":{"rendered":"changeUnits"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Change the units of a specified keyword in a specified PAM Datapoint file in the current directory.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>changeUnits<\/strong> &lt;filename&gt; &lt;PAM_keyword&gt; &lt;new_PAM_unit&gt;<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table style=\"width: 97.5426%; height: 72px;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 18.95%; height: 24px;\">filename<\/td>\n<td style=\"width: 224.122%; height: 24px;\">Specify the name of the PAM Datapoint file to modify.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 18.95%; height: 24px;\">PAM_keyword<\/td>\n<td style=\"width: 224.122%; height: 24px;\">Specify the keyword whose units are to be changed.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 18.95%; height: 24px;\">new_PAM_unit<\/td>\n<td style=\"width: 224.122%; height: 24px;\">Specify the new units to set for the specified keyword.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>changeUnits<\/strong> USER1@22\u00a0 LB\/MIN\u00a0 MYTESTID.*<\/p>\n<p>The above command changes the units associated with PAM keyword USER1@22 to LB\/MIN in any PAM datapoint file whose name begins with &#8216;MYTESTID&#8217; in the current directory.\u00a0 It reads each file and replaces any found units for PAM keyword USER1@22 with LB\/MIN.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>Ensure the file is in the current directory or provide the full path as the program does not handle multiple files.<\/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: Change the units of a specified keyword in a specified PAM Datapoint file in the current directory. Enter: changeUnits &lt;filename&gt; &lt;PAM_keyword&gt; &lt;new_PAM_unit&gt; Where: filename Specify the name of the PAM Datapoint file to modify. PAM_keyword Specify the keyword whose units are to be changed. new_PAM_unit Specify the new units to set for the specified [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1960,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3470","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3470","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=3470"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3470\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1960"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3470"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}