NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Result processing -CSV test results log directory and search directory -- how to set it programmatically

Solved!
Go to solution

Hello everyone,

 

I just start programming on Teststand and I have 2 questions. I don't know if it is possible or not.

 

1) is there a way to programmatically modify the path for the CSV test result Log.

AlainTf_0-1724744198986.png

 

2) I also search a way to programmatically add some search directory presented in this screenshot.

AlainTf_1-1724744352166.png

I can use Testsatnd expression or Labview. ( I found the way to modify the path of the REPORT html file by using sequence Report option, but I was not able to find these asked directory)

 

Thanks for your help.

 

Alain

0 Kudos
Message 1 of 9
(320 Views)

CSV Test Result Log is nothing which comes with standard TestStand. This is most prbably a PlugIn some one at your company has created.

Have you tried clicking on the wrench button on the right side to configure the Plugin? Maybe....

0 Kudos
Message 2 of 9
(302 Views)

CSV Test Result Log came with semiconductor module, so i thinks that this modules is linked to teststand.

0 Kudos
Message 3 of 9
(287 Views)

Thanks for clarification!

 

So... which options can you configure for it?

0 Kudos
Message 4 of 9
(277 Views)

I can configure these options : 

AlainTf_0-1724775535121.png

I dont know if I can acces results processing and search directory programmatically to set path.( upper figure show the content of these options)

0 Kudos
Message 5 of 9
(268 Views)

Ok, so since it's a process model plugin. programmatic approach is well possible, but you might have to do some re-engineering here.

https://www.youtube.com/watch?v=1rZ4lGDfqyk

 

Steps you need to take:

  • learn how Process Model Plugins basically work
  • analyse the CSV one, find out
  • in which part of the plugin configuration the path is stored
  •  find an appropriate place (maybe within a callback as well) where you can access this data

Since I don't have the semi-con module, this is as specific as I can be, sorry. Sounds more difficult, than it is though.

 

Yet there have been threads in this forum in the past, which were asking similar questions for the other report plugin, so you maybe there is something which can help you get started.

 

If you have people in your company who has done the "Architecting TestSstem using TestStand" course, the should be able to help

0 Kudos
Message 6 of 9
(246 Views)

Thank you for your advice , i will search the solution and post it for next people who have same question.

 

Have a nice day.

0 Kudos
Message 7 of 9
(237 Views)
Solution
Accepted by topic author AlainTf

Hello everyone, 

here is the result :

 

For the Csv test results log directory from semiconductor module , you need to create a callback sequence named " ModelPluginConfiguration", to visualize object in this module set a break point in this sequence. You will see table named from 0 to 10 ( as show in the image). The csv test results log is  "Parameters.ModelPluginConfiguration.Plugins[8].PluginSpecific.Options.DestinationDirectory" here you can set the path of the CSV.

AlainTf_0-1725461942151.png

AlainTf_0-1725462160188.png

 

------------------------------------------------------------

For the search directory, PinMap and other they can be found with this property :

RunState.SequenceFile.AsPropertyObject.Data.Attributes.NI.SemiconductorModule

-PinMapPath

-LabVIEWProjectFilePath 

-BinDefinitionsFilePath ...

 

Have a nice Day.

Alain.

0 Kudos
Message 8 of 9
(172 Views)

Alain, 

 

thanks for sharing! 

 

For the record:

the according index for Parameters.ModelPluginConfiguration.Plugins[] might differ between machines, if you are not using fixed ReportOptions in your deplyoment

0 Kudos
Message 9 of 9
(161 Views)