NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Report Viewer

So... A bit of background. We are using a modified 'simple user interface' created in LabView. It consists of the main operator window, and a separate report window. The report is being generated in ATML(5) format, and has a modified version of the TR5_Expand.xsl style sheet applied to it, giving the option to expand or collapse either parts of the report, or the whole thing. 

Now while this works fine in theory, we've noticed an irritating 'feature' which will make it fairly unusable in practice.

Initially, the expand/collapse buttons seemed to stop working after a while. This I fixed by triggering a refresh on the report window periodically. Now, however, it seems that pretty much every step that is enabled for report logging, causes all the previously expanded sections of the report to collapse, meaning if an operator is trying to view previous results when the overall test is still running, it will be very frustrating to keep having to re-expand the sections that they wish to view.

 

Tracing it through, it seems the culprit is within the ReportGen_atml sequence, within the ProcessOTFStepResults subsequence. The very last line of that sequence is an activeX call to the TestStand API, Report.ReportSection. Whenever this executes, it seems to cause all the expanded sections of the report window to collapse again..

 

I realise that this is quite a niche question, but has anyone else seen this behaviour, or can anyone suggest a way to fix the problem?

 

Thanks in advance 🙂

0 Kudos
Message 1 of 1
(655 Views)