08-07-2026 09:00 AM
Hello, On my development PC I have selected these settings for report option,
Rshah31_0-1786110568491.png
I have done some changes to the "horizontal.xsl" like added compay logo and Header footer.
It can generate on my development PC. but not in the delpyment PC.
On Deployment pc It is generating normal default sheetstyle. Infact I have replace that "horizontal.xsl" with new one, in the same folder same name.
still it is taking the default Sheetstyle. from where? I do not know
How can I select my edited "horizontal.xsl" Please help.
I have also tried dynamically to set report setting. but it wont work. Please check attached seq. (I found this seq from https://forums.ni.com/t5/Example-Code/Setting-Report-Options-for-a-Specific-TestStand-Sequence-File/... I have edited it my own. )
Let me know if you have any idea.
Thank you.
Solved! Go to Solution.
08-08-2026 12:25 AM
On your deployment machine, please run a search for that style sheet and check how many instances you can find.
Do you happen to have multiple deployments on the same machine?
have you tried renaming your version and configuring the report options accordingly?
For sure, TestStand doesn‘t create the style sheet out of thin air 😉
08-10-2026 03:44 AM
I have searched for the "sheetstyle" on the deployment PC. I found the default one that was created while installing the runtime, as you can see in the attached photo.
Rshah31_0-1786349436562.png
->I have not really used the deployment utility tool. I have installed LabVIEW and TestStand Runtime engines and replaced some needed .ini* files (Copy-Paste).
Everything works perfectly, except the report style.
->I have also tried it with another sequence. But the result was the same.
My Observation:
According to my requirement, SheetStyle select from this folder: C:\Program Files\National Instruments\TestStand 2023\Components\Models\TestStandModels\StyleSheets\horizontal.xsl
On the deployment PC, I have tried to edit the file name to horizontal_1.xsl. And there is no other horizontal.xsl file. So logically, it should not get this file in the same folder. and give me the error. But in this case, it also generates the report horizontal.xsl (in the default report style).
So I don't get it from where Testand/Labview UI is taking the path for the sheet style.
08-11-2026 01:10 AM
@Rshah31 wrote:
[…]
->I have not really used the deployment utility tool. I have installed LabVIEW and TestStand Runtime engines and replaced some needed .ini* files (Copy-Paste).
Everything works perfectly, except the report style.
TestStand stores its‘ report related settings in a file called ResultProcessing.cfg. This file also contains the location of the Stylesheet. Have you put this also on your deployment machine?
Furthermore, when TestStand locates files (which are configured to use relative paths), it works through the search directories (also stored in a settings file which needs to be deployed) and it will take the first file found with the given name.
I am not entirely sure, how the style sheet path is saved in ResultProcessing.cfg, but I guess it’s also relative.
As I am travelling without access to my TestStand installation, I can‘t check myself.
As a proof of concept: replace the Stylesheet on your deployment PC with your version of the style sheet (may be write protected though). Observe the results.
If the result doesn‘t match your modified Stylesheet, please revalidate only your modified Stylesheet is on the PC and it matches the version you are expecting.
Hope that helps.
08-12-2026 06:16 PM
The path of style sheet is embedded inside the xml report:
image.png
On those computer without TestStand, I sometimes manually change the path to point to the style sheet I want.
Then use TSReportViewer (https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000oxoICAQ&l=en-US)
to view the report and generate html report.
08-13-2026 01:02 AM
Thank you for your support,
I have added this parameter to the "ReportOptions" callback sequence.
Parameters.ReportOptions.RelStylesheetPath = "horizontal.xsl",
Locals.XSLPath ="C:\\Program Files\\National Instruments\\TestStand 2023\\Components\\Models\\TestStandModels\\StyleSheets\\horizontal.xsl",
Parameters.ReportOptions.StylesheetPath = Locals.XSLPath,
Parameters.ReportOptions.StoreStylesheetAbsolutePath = True,
Parameters.ReportOptions.ReportStyle = ""
And it works !