08-27-2024 02:48 AM
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.
2) I also search a way to programmatically add some search directory presented in this screenshot.
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
Solved! Go to Solution.
08-27-2024 04:21 AM
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....
08-27-2024 07:22 AM
CSV Test Result Log came with semiconductor module, so i thinks that this modules is linked to teststand.
08-27-2024 09:04 AM
Thanks for clarification!
So... which options can you configure for it?
08-27-2024 11:19 AM - edited 08-27-2024 11:31 AM
I can configure these options :
I dont know if I can acces results processing and search directory programmatically to set path.( upper figure show the content of these options)
08-27-2024 11:35 PM
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:
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
08-28-2024 01:35 AM
Thank you for your advice , i will search the solution and post it for next people who have same question.
Have a nice day.
09-04-2024 10:00 AM - edited 09-04-2024 10:02 AM
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.
------------------------------------------------------------
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.
09-05-2024 12:10 AM
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