NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get the filename of the actual report file while the test is running?

Hi,
 
How can I get the filename of the actual report file while the test is running?
I have to send the name of the actual report file to the Operator Interface.
Is there anyone knows where to get that info when the sequence is running?
 
Andras
0 Kudos
Message 1 of 3
(3,033 Views)
Andras,

you should take a look into RunState.Root.Locals.ReportOptions.ReportFilePath. Please note that this i a runstate-property so you should have a problem to find it during edit-time.

hope this helps,
Norbert
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 3
(3,023 Views)

Yes Norbert it helped, thanks.

Except RunState.Root.Locals.ReportFilePath holds the value in TS4 instead of RunState.Root.Locals.ReportOptions.ReportFilePath.

Thanks again,

Andras

0 Kudos
Message 3 of 3
(3,001 Views)