LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph boundaries disappear in .doc report

Hi,
 
We have observed a recurring problem when sending XY graphs on the front panel into a .doc report.
The problem is that some of the graph boundaries disappear. The attached file shows two graphs, one good and other bad. The bad graph has its right and bottom boundary missing.
 
We have also observed that this starts to happen for graphs which have been resized a few times.
 
Why does this happen?
What is the solution? At present we have cursors which get set to X-max and Y-min (for the bad graph in my attached file) before the control image is sent to word report. We send images as .PNG using "Append Control Image to Report.vi".
 
We are using LV 7.1 FDS on Win2000.
 
Thanks,
Gurdas

Message Edited by Gurdas on 07-12-2006 08:48 AM

Gurdas Sandhu, Ph.D.
ORISE Research Fellow at US EPA
0 Kudos
Message 1 of 7
(2,795 Views)

Hi Gurdas,

I can see the problem you're describing in the Word document you attached.  Can you also post VIs that demonstrate the problem from the LabVIEW side, along with steps to reproduce the problem?  This will help me track down the problem, as I am currently unable to reproduce it with my own VIs.

-D

0 Kudos
Message 2 of 7
(2,784 Views)

Thanks Darren.

I will try and build a test VI that can be shared.

In the meantime, if you have not already done this, try re-sizing the graph a few times, save and reload the VI and see if the problem gets manifested. While resizing, ensure you resize both - total graph and data display area. Pls note we are using LV-FDS-7.1

I am confident I can send you a VI that allows you to replicate the problem. However, I am not sure whether there is a specific step sequence which takes us to the problem occuring. But, I will try and see what best I can do concerning steps.

Regards,

Gurdas

Gurdas Sandhu, Ph.D.
ORISE Research Fellow at US EPA
0 Kudos
Message 3 of 7
(2,773 Views)
Hi again Darren,
 
Pls find attached VI that replicates the error. I have NOT started from a fresh graph but simply copies the graph from an existing app with me.
 
A solution to this problem will help lots.
 
Thanks,
Gurdas Sandhu, Ph.D.
ORISE Research Fellow at US EPA
0 Kudos
Message 4 of 7
(2,771 Views)

Hi Gurdas,

I definitely see the problem with the VI you attached.  But I don't think the report VIs have anything to do with it, because we can see from the front panel of the VI that the graph is missing its right and bottom borders...it's easy enough to verify by changing the background of the front panel to a white color.  So it looks like something is actually getting messed up on the graph.

So my next question is, can you send me a VI with a graph that has its proper borders, but by resizing the graph I could see them disappear?  This would allow me to test the issue with later versions of LabVIEW to see if there is a fix.

Thanks,
-D

0 Kudos
Message 5 of 7
(2,766 Views)

Hi Darren,

I tried, starting from a good graph, to reach a graph with missing boundaries, but no success yet. I will continue to try this. However, as I said earlier, there are no definite steps to recreate the problem; which makes it difficult for me to deliver what you have asked.

I agree that this has nothing to do with the report generation VIs.

The problem, though merely aesthetic, is quite widespread (appears on many of our graphs) and thus has big irritant value. I would appreciate if a solution can be found.

Thanks,

 

Gurdas Sandhu, Ph.D.
ORISE Research Fellow at US EPA
0 Kudos
Message 6 of 7
(2,759 Views)

Hi Gurdas,

I hope you are able to find a way to reproduce the problem.  Since I can't get a graph to lose its borders, I'll need a VI from you that reproduces the problem in order to investigate a solution.

-D

0 Kudos
Message 7 of 7
(2,753 Views)