08-20-2024 01:57 PM
Hey, I'm relatively new to interacting with the process model so I may be asking an obvious question, though I didn't see a relevant post in the forum.
I want to call some .sh scripts for test stand to run after it has generated a report. The scripts it will call are going to move/manipulate the report a bit, mostly just relocating the report to a configurable location on the machine. I want to do this so it can be inherited by anyone in my organization who happens to have access to these scripts. Is there any learning material that I can view to help do this?
If this is a quick "just create an action after `this` step" I'm happy to talk it out here.
Solved! Go to Solution.
08-20-2024 03:45 PM
Add a PostUUT callback to your sequence. In the callback, iterate over the Parameters.ModelPluginConfiguration.Plugins and do whatever you need to do with each report plugin.
08-21-2024 01:31 PM
Thank you for the reply. What's tripping me up is the `NI_ReportGenerator.seq`. I would like to understand when TestStand actually "releases" the report file.
I believe its this subsequence. But I can't figure out where in the sequence model `NI_ReportGenerator.seq` is actually called.
08-21-2024 01:36 PM
I want to call some .sh scripts for test stand to run after it has generated a report. The scripts it will call are going to move/manipulate the report a bit, mostly just relocating the report to a configurable location on the machine. I want to do this so it can be inherited by anyone in my organization who happens to have access to these scripts.
Based on your primary requirement, the best place to do this is in PostUUT. The report plugin will have released the reports at that time and not be writing to the files anymore.