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.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I add a logo in the header of a TestStand 2012 HTML report?

I've been trying to add a company logo to the header of a HTML report on TestStand 2012 without success. I've followed the help topic below however this seems to be for TestStand 3.1 and does not work on 2012. 

 

http://digital.ni.com/public.nsf/allkb/3FD69C34EEF13E3786257448006A5F43

 

I'm able to add pictures to the XML and ATML reports however I want to stick with HTML and everything I try does not seem to work!

 

Any help would be hugely appreciated. 

 

Many Thanks

 

Sam Beutelspacher

 

0 Kudos
Message 1 of 2
(3,589 Views)

In TestStand 2012, the ReportHeader string no longer contains a <body> tag, so you can directly append the extra HTML to the parameter without needing to do a search and replace.  The following expression worked in my case:

 

Parameters.ReportHeader = "\R\N<IMG src=\"C:\\NI.JPG\" ALT=\"NATIONAL INSTRUMENTS\">" + Parameters.ReportHeader

 

 

 

Al B.
Staff Software Engineer - TestStand
CTA/CLD
0 Kudos
Message 2 of 2
(3,506 Views)