NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

programmatically getting the UUT file name

I'm trying to get the file path for the UUT report created by TS. I'm using the GetReportFilePath callback and then Parameters.ReportFilePath. However, Parameters.ReportFilePath returns an empty string.

 

I've been researching this for a day or two and haven't found what I need yet. I'm sure this has been dealt with previously, I just can't seem to find the right post.

 

Thanks in advance for your help.

 

-D

0 Kudos
Message 1 of 4
(1,021 Views)

When I ran a sequence with the callback and using a process model; it worked as expected. 

Did you by chance just run the callback sequence by itself?

Do you have Result plugins enabled?

0 Kudos
Message 2 of 4
(990 Views)

Thanks for the feedback. I did not enable Result plugins because I don't know how to do that. This is new to me so could you share how to do that?

 

Thanks so much.

 

- D

0 Kudos
Message 3 of 4
(982 Views)

To change reporting go to menu configure > result processing. You must have process model enabled to see this menu. Also, process model shall be used when running a sequence file (use Single Pass or Test UUTs).

 

In general you should follow this knowledge base article: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P8FPSA0&l=pl-PL

 

However, it is also important when in the execution you are trying to get this information and if you are using macros to create a report path (or generally how you configure your reporting plugin).

Michał Bieńkowski
CLA, CTA, CPI

  1. Did someone devote their time to help solve your problem? Appreciate it and give kudos.
  2. Problem solved? Accept as a solution so that others can find it faster in the future.
  3. Contribute to the development of TestStand by voting on the TestStand Idea Exchange.
0 Kudos
Message 4 of 4
(952 Views)