LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

cwui graph

Im tying to print out a panel including cwui graphs.

The panel apears normal on the screen but the print out, either on paper or pdf, is not like the screen.

The graph label and the axis labels are a lot smaller, and worse the plots are missing.

 

Attached a screen clip and the result of printing to pdf (CutePDF). The result is the same on paper.

I'm using CVI-9.0 and the function :

PrintPanel(panel,"",1,VAL_FULL_PANEL,1);

Regards Per

Download All
0 Kudos
Message 1 of 2
(2,923 Views)

I am not using cwui graphs normally so I cannot give you a definitive answer, but this item has been addressed a few times here in the forum, and it seems related to intrinsic features of the control itself: see here for a sample discussion about it. As far as I can see it seems that eanbling bitmap printing solves the problem, though with a significant detriment of output quality.

 

If you think this option does not give satisfactory results, you can take a look at my Multi Axis graph in CVI sample, that describes the technique I use to obtain several Yaxes on a single graph.To obtain a better aspect when printing I normally duplicate the data on a separate panel with the same set of graph controls and print it; the separate panel is not shown on the screen and is customised instead for better aspect when printed, i.e.

- Larger area (The larger the panel the better the quality of printout: you can obtain good results printing panels starting from 1400*990 pixels panel on a A4 sheet)

- White background

- Headers, footers, additional elements like a description of test procedure, numeric results, comments and so on



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,881 Views)