08-21-2013 08:24 AM
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
08-29-2013 12:55 PM
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