Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

Log additional results from within a (LabVIEW) Step

$
0
0

Hi,

 

Inside a LabVIEW TestStep I need to log an, at the start of the execution of the test-step, unknown number of additional results. These results are id's to other DB-table's and making them part of the step-results makes it easier to query the results together afterwards (this way each entry in the STEP_RESULT-table can be related to a number of entries inside PROP_RESULT-table which point to entries in other not standard TestStand tables.

 

Using the sequenceContext inside the LabVIEW-TestStep it's possible to log additional results into the Step-result container using the AdditionalResults.Insert method : SeqContext.Step.AdditionalResults.CustomResults.Insert("result)

I already noted that a Clear-method needs to be executed before starting to log additional results because else the results are appended to results from a previous run and are visible in the Additional Results View inside the  Step-settings in the sequence Editor. This last behaviour makes me think I might have the wrong solutions and will take performance during execution. I would think they are only visible during run-time as temporary variables.

 

Are there other ways to add programmaticaly additional results inside a test-step?

Is there a way to programmaticaly set the data-type of the AdditionalResults.CustomResult? Now it's always logged in the PROP_RESULT-table as String (TYPE_NAME-field).

 

Thanks,

Roger

 


Viewing all articles
Browse latest Browse all 6524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>