NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't view graph in XML report

Hi everyone
 
Ok, I've created a custom Step type called 'ChartIntoReport' which has the following custom property Step.Result.ResultArray which is set to be included in report.  (Data to be plotted is 1-D array, Module is written in LabVIEW 8.2)
 
My report type is XML using the Expand.xsl stylesheet.
 
My Sequence executes just fine and at the end of the seq the report is display (Using Seq Editor) and my 1-D Chart is presented.
 
I then try to view the report using Internet Explorer at a later date (On same machine with TS 3.5 installed) and my chart has been replaced with a table, likewise if I send the report to other users they just get the table.
 
I've searched on this forum and have tried installing the TSReportComponents ActiveX controls but still no joy
 
Any ideas anyone ?
 
Chris
 
 
0 Kudos
Message 1 of 12
(5,111 Views)
Hi Chris,

I think this is down to the security settings in internet explorer not allowinf you to run the VB script that actually generates the Graph. I have been looking into how to change these but without much success.

http://digital.ni.com/public.nsf/websearch/7A0FD2C1FCE0327D86256FF600652B01?OpenDocument

The KB above talks about the problem but the work around suggested didn't work for me. Might be worth trying it anyway.

Let me know if you have any success.

Regards

Jon B
Applications Engineer
NI UK & Ireland
0 Kudos
Message 2 of 12
(5,096 Views)
Jon
 
I've tried this workaround and it didn't work for xml graphs unfortunately. It does seem to work for html format though !
 
Problem is that I really need xml as I am using a modified version of the Expand.xsl stylesheet and changing to html would be a problem for me.
 
Regards
Chris
0 Kudos
Message 3 of 12
(5,080 Views)
Chris,

Unforuntately the information in the KB is only correct if your security settings are per user, but not per machine.  It sounds like you have your security settings set per machine.  In that case, change the following registry key instead:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0

Change the Flags key to 47 and continue with the instructions in the KB.

I will make sure this information is updated.

Allen P
NI
0 Kudos
Message 4 of 12
(5,055 Views)

I also have this same problem.

I tried modifying the HKEY_LOCAL_MACHINE flag value and it doesn't seem to help. 
choosing internet options from the control panel shows "my computer"
Choosing internet options from the IE tool menu still omits it.



As of today there are still no updates on
http://digital.ni.com/public.nsf/websearch/7A0FD2C1FCE0327D86256FF600652B01?OpenDocument 
is there any thing else required for this work around?

 
0 Kudos
Message 5 of 12
(4,771 Views)
Did you try changing this key too?
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0

Allen P.
NI

0 Kudos
Message 6 of 12
(4,762 Views)

I know this is a really old post but I am having a similar problem. The report opens up fine even on IE at the test station and I can see the plotted graphs. However, when I copy over the report to my computer and try to view it then all the 1-D arrays are shown as tables. 

I followed all the steps in the this knowledge-base article i.e changed the registry key for local machine and user but it still does the same thing.

 

Any other ideas?

 

Thanks

0 Kudos
Message 7 of 12
(3,426 Views)

Hello Sumit,

Graphs are not supported by native XML (as it is a text-based format). TestStand uses an ActiveX control on top of XML to generate the graph visualization from the tabular data inside the XML reports.

This ActiveX control was installed on your test station with TestStand. On the other computer, it's probaly missing. You can install it, see the first "Notes" section from this help page: Displaying Measurement Data as Graphs -  TestStand Help.

  • To view the graphs in reports on computers on which TestStand is not installed, run the stand-alone installer for the TsGraphControl3.dll control on the computer on which you want to view the report. The installer is located in the GraphControl subdirectory of the TestStand installer directory on the TestStand installation media.
  • XML reports might unexpectedly display a table of measurement data instead of a graph under certain conditions.

The knowledge base article you found is basically the next step after - in case the ActiveX gets blocked (which it should be, as the xml is coming from another PC), then that's a version of the possible steps on how to unblock it.


Ingo – LabVIEW 2013, 2014, 2015, 2016, 2017, 2018, NXG 2.0, 2.1, 3.0
CLADMSD
0 Kudos
Message 8 of 12
(3,414 Views)

Hi Ingo,

 

I have TestStand 2013 installed on my computer, however, the report is generated in TestStand 2016. I am assuming that the ActiveX control for TestStand 2013 does not support TestStand 2016 reports. I tried copying the files from <National Instruments>\Shared\TestStand over to my computer but that did not make a difference. Is there a link from where I can download just the graph control installer?

 

Thanks

Sumit

0 Kudos
Message 9 of 12
(3,405 Views)

Hello Sumit,

Good idea to try that.

I believe I found the installer:

  1. I downloaded TestStand 2016 Run-Time (32-bit). There is also a 64-bit version available.
  2. I then extracted the exe file (only extracted, not executed any set-up).
  3. Among the extracted files, I found a folder TestStandRTE2016-32\Products\TestStand_Graph_Control\
  4. That folder contains two msi installers (TSGraphControlPart[32/64].msi). One of the cab files probably used by those installers contains the dll and ocx files that were in the folder you mentioned. So I assume that the two installers here are what you need.

 

 

(By the way, I have TestStand 2017 installed on my PC, and I tried to find the installer on it (so that you can copy if from the other PC), but I could not find it.)


Ingo – LabVIEW 2013, 2014, 2015, 2016, 2017, 2018, NXG 2.0, 2.1, 3.0
CLADMSD
0 Kudos
Message 10 of 12
(3,399 Views)