09-30-2015 02:47 PM
Hi,
I know that teststand derives the full html filename and path from the report options. I'm trying to figure out:
1. Where in the process model the reporting is actually compete, as it appears to create a 0kb file prior to actually populating it. I know this because I enabled the "generatereportpath" callback, put a breakpoint in there, and it had by that time already generated a placeholder for the html file 0kb long, but hadn't actually populated it yet.
2. Where in the runstate tree this complete path might be stored. I've hunted around the runstate tree while paused in the above callback but could not find it.
Anybody know? Would appreciate it,
Thanks
David Jenkinson
10-01-2015 11:03 AM
Hi,
I'm not sure if I completely understand your question, but if you just want to know more about where the actual report generation is taking place, you should take a look at this white paper.
If you open up the NI_ReportGenerator.seq sequence file, there are sequences called "Calculate Report Path" and "GetReportFilePath". This would probably be a good place to start looking for what you want.
10-02-2015 12:13 PM
I probably should have just posted the 2nd part of my question as that is the real meat of what I'm wanting. I just really was trying to find where in the runstate tree the complete html path is stored. I have actually found it:
RunState.Root.Locals.ModelPluginConfiguration.Plugins[0].PluginSpecific.RuntimeVariables.PerSocket[0].Path
This path appears to assume that the report options appear first in the report options list (due to the element [0] designation), which they currently do in our setup, but ideally I'd find a location without this assumption.