NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Small Report Log

Hi,

 

I’d like to create a report, or also a simple TXT file in which I want to save the value of a container like Local_2 (but more populated and complex that Local_2:

 

Zuc_Lab_0-1694167875710.png

 

I want to save that report in the same folder of the automatic TS report which path is defined by expression runtime. The problem is that I can’t find that path run-time in order to pass it to LabVIEW. Or a way to access by labview to the name and the value of all the fields of the container.

 

It’s really important for me, is there some one who had the same problem?

 

Best regard, Zuc

0 Kudos
Message 1 of 5
(1,072 Views)

The calculation of the path is done within the report plug-in. So you can either modify the plugin to call your code too or you create a new plugin based on the original one

0 Kudos
Message 2 of 5
(1,042 Views)

If you are talking about the ModelPluginConfiguration sequence the problem is that it's executed at the beginning of the sequence and in that moment my container is void the computation of the result isn't started. moreover in that sequence a can't find a variable for the report path.

 

Sorry if i have misunderstood someting, thank you for the patience.

 

Best Regards,

Zuc

0 Kudos
Message 3 of 5
(1,036 Views)

Ok, I get the point.

 

Do you want to have this "report" being generated in your client sequence file or a as a part of the process model?

0 Kudos
Message 4 of 5
(889 Views)

Hi,

 

Sorry for my late response but i was out of office. I suppose that it can be genrated in one of the two sequences without problem. i have already modified a bit the SequentialModel.seq so i suppose i can add it to it.

 

Thank you for the help!

 

Best Regards,

Zuc

0 Kudos
Message 5 of 5
(875 Views)