LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

incorrect reference from a chart

I have a main VI that runs a test and generates a chart of UUT data. When the test is complete, I use a reference to the chart, and send it to a subvi that generates an HTML report. The report subvi uses the control reference to make an image of the chart and place it on the HTML page for viewing and printing using Internet Explorer.
 
My problem is: sometimes the chart comes up incorrect. Sometimes it only has half the chart. Sometimes it only gets the middle. I am testing three UUTs and sometimes 1 chart will be correct and the others incorrect. It never seems to work flawlessly.
 
Has anyone seen this problem before? Am I doing something wrong?

Here is the report subvi
(The main VI is rather large, but it basically generates a chart with 4 plots and references it, and sends it into this subvi.)
 
0 Kudos
Message 1 of 2
(2,361 Views)

Hello MrB.

I tried to use your subvi but did not get the same behavior that you are reporting.  My chart seemed to come up each time (tested it about 5 times each with a Chart and with a Graph).  I noticed that there are some .jpg files that are created with the webpage.  Are they saved with pieces missing as well?  Also, what version of LabVIEW are you working with?  I hope this helps you discover the source of the problem.

Steven T.

 

0 Kudos
Message 2 of 2
(2,344 Views)