{"id":3465,"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\/changedartstestidptall\/"},"modified":"2025-12-04T11:11:49","modified_gmt":"2025-12-04T16:11:49","slug":"changedartstestid","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/9-data-collection-data-logging\/changedartstestid\/","title":{"rendered":"changeDartsTestid"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<p style=\"padding-left: 40px;\">Change the Test ID and\/or offset the datapoint number in DARTS datapoint files in the current directory.<\/p>\n<\/div>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>changeDartsTestid<\/strong> &lt;testid&gt; &lt;point_num_offset&gt; &lt;filename&gt; [filename &#8230;]<\/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: 18.64%;\">\n<p>testid<\/p>\n<\/td>\n<td style=\"width: 81.17%;\">\n<p>Specify the desired new Test ID.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 18.64%;\">\n<p>point_num_offset<\/p>\n<\/td>\n<td style=\"width: 81.17%;\">\n<p>Specify the offset to add to the point number in the files. <br \/>\nNOTE: Enter 0 if no change is needed.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 18.64%;\">\n<p>filename<\/p>\n<\/td>\n<td style=\"width: 81.17%;\">\n<p>Specify the name of the DARTS file to modify. Wildcards are not directly handled in the code, but multiple filenames can be specified as separate arguments.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3><strong>Example:<\/strong><\/h3>\n<p style=\"padding-left: 40px;\"><strong>changeDartsTestid\u00a0<\/strong> mytestid\u00a0 0\u00a0 MYTESTID.*<\/p>\n<p style=\"padding-left: 40px;\">The above command changes a line in any DARTS datapoint file whose name begins with&#8217;MYTESTID.&#8217; in the current directory.\u00a0 It reads each file and replaces the &#8216;testid&#8217;. for example, it changes &#8216;MYTESTID.313&#8217; to &#8216;mytestid.313&#8217;.<\/p>\n<p style=\"padding-left: 40px;\"><strong>changeDartsTestid<\/strong> mytestid 1 MYTESTID.*<\/p>\n<p style=\"padding-left: 40px;\">The above command changes a line in any DARTS datapoint file whose name begins with &#8216;MYTESTID.&#8217; in the current directory. It reads each file and replaces the &#8216;testid&#8217;. Since 1 was entered for the offset the above example changes to &#8216;MYTESTID.313&#8217; to &#8216;mytestid.314&#8217; because 1 was used as the offset. This also changes the datapoint number in the datapoint file the same way with the offset.<\/p>\n<h3><strong>Notes:<\/strong><\/h3>\n<p style=\"padding-left: 40px;\">Be sure to change to the directory containing the files to be changed before entering the command.<\/p>\n<h3><strong>See Also:<\/strong><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Change the Test ID and\/or offset the datapoint number in DARTS datapoint files in the current directory. Enter: changeDartsTestid &lt;testid&gt; &lt;point_num_offset&gt; &lt;filename&gt; [filename &#8230;] Where: testid Specify the desired new Test ID. point_num_offset Specify the offset to add to the point number in the files. NOTE: Enter 0 if no change is needed. filename [&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-3465","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3465","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=3465"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3465\/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=3465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}