From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-03-2005 11:22 AM
08-03-2005 12:52 PM
Kurt,
currently it is not possible to change the report directory through the API.
You can Display the Report Options Dialog in your user interface though.
I assume you wanted to have an option to change your report directory only.
If you want to change your report directory based on an specific sequence file you can do it by using the ReportOptions callback.
Hope it helps.
08-03-2005 08:31 PM
Thanks Antonio
I'm sure that will work, I just had a look at the ReportOptions callback and essentially I could set the report directory from a global that I can access via the API.
Cheers
08-04-2005 09:36 AM
Kurt,
I was wrong.
In fact there is a way to change the report location using the TestStand API.
You only have to Get a Report Object reference from the current execution and change the Location Property.
Report.Location
String
Specifies a string that indicates the report location.
If you call the Load or Save method of this class, this property is automatically set to the pathname of the report file.
You need to make sure you change this property after the model reads the report options from disk. (check Reference Manual - Appendix A) otherwise the location will be overwritten.
Hope it helps.
08-04-2005 10:19 AM