<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Enter a Testnumber value in the results in NI TestStand</title>
    <link>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398376#M68898</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/25841"&gt;@Joe_H&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Where and how would be the best way to enter a testnumber for each test I run so that the test would have a test number column in the database associated with it.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;OL&gt;
&lt;LI&gt;Go to Configure &amp;gt; Result Processing&lt;/LI&gt;
&lt;LI&gt;Insert a Database report by clicking the add button&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eejallen_0-1728408584749.png" style="width: 581px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/338469iC650A3963966EF3E/image-dimensions/581x106?v=v2" width="581" height="106" role="button" title="eejallen_0-1728408584749.png" alt="eejallen_0-1728408584749.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Click Options&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eejallen_1-1728408633268.png" style="width: 550px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/338470iB889503C4FA271D2/image-dimensions/550x99?v=v2" width="550" height="99" role="button" title="eejallen_1-1728408633268.png" alt="eejallen_1-1728408633268.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Go to Schemas tab&lt;/LI&gt;
&lt;LI&gt;Copy the Generic Recordset&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eejallen_2-1728408921045.png" style="width: 400px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/338471iF01BEEE387D6547A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eejallen_2-1728408921045.png" alt="eejallen_2-1728408921045.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Checkbox the new copy Recordset.&amp;nbsp; Expand the Generic Recordset, then expand STEP_RESULT.&amp;nbsp; Right-click any child and add a New child&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eejallen_3-1728409123955.png" style="width: 400px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/338472i30AC2CC30E28D216/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eejallen_3-1728409123955.png" alt="eejallen_3-1728409123955.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;I named it UID and set it to a 32 byte string&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eejallen_4-1728409195123.png" style="width: 400px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/338473iF4C8186E5EB36655/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eejallen_4-1728409195123.png" alt="eejallen_4-1728409195123.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Set the Value to Log option to:&amp;nbsp;PropertyExists("Logging.StepResult.UID") ? Logging.StepResult.UID : ""&lt;/LI&gt;
&lt;LI&gt;Click OK on Database Options to save and close Options&lt;/LI&gt;
&lt;LI&gt;Click OK on Result Processing dialog to save and close&lt;/LI&gt;
&lt;LI&gt;Click on any test step in your sequence, where you want a Unique ID.&lt;/LI&gt;
&lt;LI&gt;In the step's Pre-Expression add this:&amp;nbsp;Step.AsPropertyObject().SetValString("Result.UID", PropOption_InsertElement, "12345")&lt;/LI&gt;
&lt;LI&gt;This adds a UID of 12345 to the Step.Result&lt;/LI&gt;
&lt;LI&gt;Run the test sequence&lt;/LI&gt;
&lt;LI&gt;After the sequence is complete, go back to Database Options in Result Processing and click View Data&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eejallen_5-1728409655919.png" style="width: 400px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/338474i1202F5E7DA147FA4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eejallen_5-1728409655919.png" alt="eejallen_5-1728409655919.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Use this sql query to see the Step Name, UID and UUT Status&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;SELECT UUT_RESULT.UUT_SERIAL_NUMBER, UUT_RESULT.START_DATE_TIME, STEP_RESULT.ORDER_NUMBER AS STEP_ORDER, STEP_RESULT.STEP_NAME, STEP_RESULT.UID, STEP_RESULT.STATUS&lt;BR /&gt;FROM UUT_RESULT LEFT JOIN STEP_RESULT ON UUT_RESULT.ID = STEP_RESULT.UUT_RESULT&lt;BR /&gt;ORDER BY UUT_RESULT.UUT_SERIAL_NUMBER, UUT_RESULT.START_DATE_TIME, STEP_RESULT.ORDER_NUMBER&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A table will be created which includes the UID column&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eejallen_6-1728409901485.png" style="width: 400px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/338475i7CD2C94240F9EFB0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eejallen_6-1728409901485.png" alt="eejallen_6-1728409901485.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Oct 2024 17:53:24 GMT</pubDate>
    <dc:creator>ee-jallen</dc:creator>
    <dc:date>2024-10-08T17:53:24Z</dc:date>
    <item>
      <title>Enter a Testnumber value in the results</title>
      <link>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4397539#M68877</link>
      <description>&lt;P&gt;Where and how would be the best way to enter a testnumber for each test I run so that the test would have a test number column in the database associated with it.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 21:25:08 GMT</pubDate>
      <guid>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4397539#M68877</guid>
      <dc:creator>Joe_H</dc:creator>
      <dc:date>2024-10-02T21:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a Testnumber value in the results</title>
      <link>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4397572#M68879</link>
      <description>&lt;P&gt;I'm not an expert&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;maybe this give you an idea. See our test result -html and Test Sequence.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marinuss_0-1727943299902.png" style="width: 400px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/338276i20E0B279F9CFF2F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marinuss_0-1727943299902.png" alt="Marinuss_0-1727943299902.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marinuss_2-1727943375404.png" style="width: 400px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/338278iEA0788E42DA391DF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marinuss_2-1727943375404.png" alt="Marinuss_2-1727943375404.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Marinus&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 08:16:37 GMT</pubDate>
      <guid>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4397572#M68879</guid>
      <dc:creator>Marinuss</dc:creator>
      <dc:date>2024-10-03T08:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a Testnumber value in the results</title>
      <link>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398037#M68882</link>
      <description>&lt;P&gt;You mean like assigning a (human readable) unique identifier to each test?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 04:39:25 GMT</pubDate>
      <guid>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398037#M68882</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2024-10-07T04:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a Testnumber value in the results</title>
      <link>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398039#M68883</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was thinking you can change the test names to 1, 2, 3 etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Marinus&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 06:17:05 GMT</pubDate>
      <guid>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398039#M68883</guid>
      <dc:creator>Marinuss</dc:creator>
      <dc:date>2024-10-07T06:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a Testnumber value in the results</title>
      <link>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398103#M68887</link>
      <description>&lt;P&gt;Thanks but I’d really rather not do it this way. I would rather have a number tied directly to the test itself that way I can create a master test table in the database that corresponds to the test numbers. Makes it easier to generate a test report from the database.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 13:05:07 GMT</pubDate>
      <guid>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398103#M68887</guid>
      <dc:creator>Joe_H</dc:creator>
      <dc:date>2024-10-07T13:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a Testnumber value in the results</title>
      <link>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398136#M68889</link>
      <description>&lt;P&gt;Yes exactly. This would make it a little easier when creating a report from the database itself. Ultimately the goal is to have a master table in the database that has names associated with test numbers. I just need a way to put the testnumber in the test results or to be able to add it in the database somewhere that correlates to the actual test performed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 15:29:29 GMT</pubDate>
      <guid>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398136#M68889</guid>
      <dc:creator>Joe_H</dc:creator>
      <dc:date>2024-10-07T15:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a Testnumber value in the results</title>
      <link>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398233#M68892</link>
      <description>&lt;P&gt;I'll start with some background before sketching a possible solution...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TestStands result collection basically works by harvesting the result containers from the steps in a sequence.&lt;/P&gt;
&lt;P&gt;The data from the result containers are than written into the report or database by the result processing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Consequently, the data you want to have in the report / database should go into the result container of the step.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To do so, there are several ways, each with some pros and cons (guess you'll find them out yourself)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.) Use "Additional Results" Properties of step&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Oli_Wachno_1-1728363789932.png" style="width: 400px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/338440i71951853B573AB21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Oli_Wachno_1-1728363789932.png" alt="Oli_Wachno_1-1728363789932.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2.) Create your own StepType based on the NI StepTypes, modify the result structure and provide some code to enable better UX. (&lt;A href="https://www.ni.com/de/support/documentation/supplemental/08/teststand-custom-step-type-development-best-practices.html?srsltid=AfmBOoobTMJ8LZvPRPDZ47KLrUJvyHFDpUWFiN2_ekmqaRv9i95Ks-f2" target="_blank"&gt;https://www.ni.com/de/support/documentation/supplemental/08/teststand-custom-step-type-development-best-practices.html?srsltid=AfmBOoobTMJ8LZvPRPDZ47KLrUJvyHFDpUWFiN2_ekmqaRv9i95Ks-f2&lt;/A&gt; )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These are the most straight-forward options I am aware of.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have opted for the second way, since there is a lot of additional functionality in our steps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 05:15:53 GMT</pubDate>
      <guid>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398233#M68892</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2024-10-08T05:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a Testnumber value in the results</title>
      <link>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398292#M68894</link>
      <description>&lt;P&gt;Thank you. This is what I was looking for. I was leaning towards a custom type before posting this but I wanted to make sure that there was not something easier. I will look more into custom types.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 12:53:16 GMT</pubDate>
      <guid>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398292#M68894</guid>
      <dc:creator>Joe_H</dc:creator>
      <dc:date>2024-10-08T12:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a Testnumber value in the results</title>
      <link>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398376#M68898</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/25841"&gt;@Joe_H&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Where and how would be the best way to enter a testnumber for each test I run so that the test would have a test number column in the database associated with it.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;OL&gt;
&lt;LI&gt;Go to Configure &amp;gt; Result Processing&lt;/LI&gt;
&lt;LI&gt;Insert a Database report by clicking the add button&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eejallen_0-1728408584749.png" style="width: 581px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/338469iC650A3963966EF3E/image-dimensions/581x106?v=v2" width="581" height="106" role="button" title="eejallen_0-1728408584749.png" alt="eejallen_0-1728408584749.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Click Options&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eejallen_1-1728408633268.png" style="width: 550px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/338470iB889503C4FA271D2/image-dimensions/550x99?v=v2" width="550" height="99" role="button" title="eejallen_1-1728408633268.png" alt="eejallen_1-1728408633268.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Go to Schemas tab&lt;/LI&gt;
&lt;LI&gt;Copy the Generic Recordset&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eejallen_2-1728408921045.png" style="width: 400px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/338471iF01BEEE387D6547A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eejallen_2-1728408921045.png" alt="eejallen_2-1728408921045.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Checkbox the new copy Recordset.&amp;nbsp; Expand the Generic Recordset, then expand STEP_RESULT.&amp;nbsp; Right-click any child and add a New child&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eejallen_3-1728409123955.png" style="width: 400px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/338472i30AC2CC30E28D216/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eejallen_3-1728409123955.png" alt="eejallen_3-1728409123955.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;I named it UID and set it to a 32 byte string&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eejallen_4-1728409195123.png" style="width: 400px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/338473iF4C8186E5EB36655/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eejallen_4-1728409195123.png" alt="eejallen_4-1728409195123.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Set the Value to Log option to:&amp;nbsp;PropertyExists("Logging.StepResult.UID") ? Logging.StepResult.UID : ""&lt;/LI&gt;
&lt;LI&gt;Click OK on Database Options to save and close Options&lt;/LI&gt;
&lt;LI&gt;Click OK on Result Processing dialog to save and close&lt;/LI&gt;
&lt;LI&gt;Click on any test step in your sequence, where you want a Unique ID.&lt;/LI&gt;
&lt;LI&gt;In the step's Pre-Expression add this:&amp;nbsp;Step.AsPropertyObject().SetValString("Result.UID", PropOption_InsertElement, "12345")&lt;/LI&gt;
&lt;LI&gt;This adds a UID of 12345 to the Step.Result&lt;/LI&gt;
&lt;LI&gt;Run the test sequence&lt;/LI&gt;
&lt;LI&gt;After the sequence is complete, go back to Database Options in Result Processing and click View Data&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eejallen_5-1728409655919.png" style="width: 400px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/338474i1202F5E7DA147FA4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eejallen_5-1728409655919.png" alt="eejallen_5-1728409655919.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Use this sql query to see the Step Name, UID and UUT Status&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;SELECT UUT_RESULT.UUT_SERIAL_NUMBER, UUT_RESULT.START_DATE_TIME, STEP_RESULT.ORDER_NUMBER AS STEP_ORDER, STEP_RESULT.STEP_NAME, STEP_RESULT.UID, STEP_RESULT.STATUS&lt;BR /&gt;FROM UUT_RESULT LEFT JOIN STEP_RESULT ON UUT_RESULT.ID = STEP_RESULT.UUT_RESULT&lt;BR /&gt;ORDER BY UUT_RESULT.UUT_SERIAL_NUMBER, UUT_RESULT.START_DATE_TIME, STEP_RESULT.ORDER_NUMBER&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A table will be created which includes the UID column&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eejallen_6-1728409901485.png" style="width: 400px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/338475i7CD2C94240F9EFB0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eejallen_6-1728409901485.png" alt="eejallen_6-1728409901485.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 17:53:24 GMT</pubDate>
      <guid>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398376#M68898</guid>
      <dc:creator>ee-jallen</dc:creator>
      <dc:date>2024-10-08T17:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a Testnumber value in the results</title>
      <link>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398399#M68899</link>
      <description>&lt;P&gt;This seems like a very viable option. I will try it out and let you know.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 00:25:30 GMT</pubDate>
      <guid>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398399#M68899</guid>
      <dc:creator>Joe_H</dc:creator>
      <dc:date>2024-10-09T00:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Enter a Testnumber value in the results</title>
      <link>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398591#M68914</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;17. In the step's Pre-Expression add this:&amp;nbsp;Step.AsPropertyObject().SetValString("Result.UID", PropOption_InsertElement, "12345")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I had a typo in Step 17, it should be:&lt;/P&gt;
&lt;P&gt;17.&amp;nbsp;In the step's Pre-Expression add this:&amp;nbsp;Step.AsPropertyObject().SetValString("Result.UID", PropOption_InsertIfMissing, "12345")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PropOption_InsertIfMissing instead of&amp;nbsp;PropOption_InsertElement.&amp;nbsp; Funny thing is, those options have the same constant value of 1, which is why when I tested, I didn't get any errors.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 21:23:01 GMT</pubDate>
      <guid>https://forums.ni.com/t5/NI-TestStand/Enter-a-Testnumber-value-in-the-results/m-p/4398591#M68914</guid>
      <dc:creator>ee-jallen</dc:creator>
      <dc:date>2024-10-09T21:23:01Z</dc:date>
    </item>
  </channel>
</rss>

