{"id":7798,"date":"2019-10-24T17:40:48","date_gmt":"2019-10-24T17:40:48","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/?page_id=7798"},"modified":"2025-09-03T11:34:23","modified_gmt":"2025-09-03T16:34:23","slug":"setdartstestid","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/9-data-collection-data-logging\/setdartstestid\/","title":{"rendered":"setDARTStestid"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Change the current DARTS Test ID, update the datapoint number, and optionally check for existing datapoints on the central node.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>setDARTStestid<\/strong> &lt;testid&gt; [point] [id_extension] [path=\/dir\/path\/] [-s]<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td>\n<p>testid<\/p>\n<\/td>\n<td>\n<p>Specify a 1-25 character DARTS Test ID string. NOTE: If the first character of &#8216;testid&#8217; is \u2019@\u2019, then &#8216;testid&#8217; is the label of a STRING_VARIABLE that contains the testid value to be used.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>point<\/p>\n<\/td>\n<td>\n<p>Optional. Specify an integer DARTS datapoint number for NEXT DARTS datapoint.\u00a0Default = 1 for a new DARTS Test ID or the NEXT datapoint number for an existing DARTS Test ID. NOTE: The value of &#8216;point&#8217; is for the NEXT DARTS datapoint that will be taken.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>id_extension<\/p>\n<\/td>\n<td>\n<p>Optional. Specify the DARTS testid extension that is a suffix to the testid to make up the complete DARTS testid. If not entered, the current extension will not be changed. NOTE: If this argument is entered, also specify the &#8216;point&#8217; argument. The &#8216;!&#8217; character that is part of the complete DARTS testid should not be entered.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>path<\/p>\n<\/td>\n<td>\n<p>Optional. Specify the path to the hold directory that is checked for any datapoint files. If any datapoint files exist, then the point number retrieved from the central node will be the last &#8216;successful&#8217; datapoint and not the last datapoint taken at the testcell. This is to ensure that the datapoint will not be overwritten from an entry in the hold directory that gets processed later. If this argument is used, it must be the last argument. The default path is \/data\/darts\/DARTSdatapoint\/hold\/.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>-s<\/p>\n<\/td>\n<td>\n<p>Optional. Specify this flag to\u00a0run additional specs processing.<\/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>setDARTStestid<\/strong> myTestid<br \/>\nThe above command sets the DARTS Test ID to \u2018myTestid\u2019 and sets the DARTS datapoint value so that the NEXT datapoint taken will have a value of 1.<\/p>\n<p><strong>setDARTStestid <\/strong>@my_id 100<br \/>\nThe above command sets the DARTS Test ID to the value that is contained in the STRING_VARIABLE \u2018my_id\u2019. Assuming that variable had a value of \u2018myTestid\u2019 Then the DARTS Test ID is set to \u2019myTestid\u2019 and the NEXT datapoint taken will have a value of 100.<\/p>\n<p><strong>setDARTStestid<\/strong> myTestid 1 qsk19<br \/>\nThe above command sets the DARTS Test ID to \u2018myTestid\u2019 and the NEXT datapoint taken has a value of 1 and the testid extension will be set to \u2018qsk19\u2019.<\/p>\n<p><strong>setDARTStestid<\/strong> myTestid 1 qsk=19 path=\/data\/DARTS\/DARTSdatapoint\/hold\/<br \/>\nThe above command sets the DARTS Test ID to &#8216;myTestid&#8217; and the NEXT datapoint taken has a value of 1 and the testid extension will be set to &#8216;qsk19&#8217;. It will compare any files in the \/data\/DARTS\/DARTSdatapoint\/hold\/ directory to make sure no duplicate datapoint entries can be entered.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>The setDARTStestid command lets the user change the DARTS Test ID that identifies subsequent datapoints in the DARTS database. The optional point argument sets the NEXT DARTS Datapoint.<\/p>\n<p>To create a new DARTS Test ID, do not use the point argument and the NEXT DARTS Datapoint will be 1.<\/p>\n<p>To reuse an old DARTS TestID enter the TestID and the NEXT datapoint number will be determined from the existing data.<\/p>\n<p>This command updates the DARTS Test ID in specs files, adjusts the datapoint number based on central node checks to avoid duplicates, and notifies related tasks.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p><a href=\"\/index.php\/usage-help-manual\/9-data-collection-data-logging\/setdartspoint\/\">setDARTSpoint<\/a><\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Change the current DARTS Test ID, update the datapoint number, and optionally check for existing datapoints on the central node. Enter: setDARTStestid &lt;testid&gt; [point] [id_extension] [path=\/dir\/path\/] [-s] Where: testid Specify a 1-25 character DARTS Test ID string. NOTE: If the first character of &#8216;testid&#8217; is \u2019@\u2019, then &#8216;testid&#8217; is the label of a STRING_VARIABLE [&hellip;]<\/p>\n","protected":false},"author":30,"featured_media":0,"parent":1960,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-7798","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/7798","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\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=7798"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/7798\/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=7798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}