LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Printing Tables WYSIWYG

Need a way to print tables as they appear after modifying. Results would be equate to using WORD tables.   Want to create a series of templates that would access lab database raw data.

0 Kudos
Message 1 of 6
(3,310 Views)

How are you intending to produce your report? There are a couple of ways to print a control, starting from a simple PrintCtrl.

 

Alternatively, you can obtaing a bitmap of the control aspect with GetCtrlDisplayBitmap and embed it as an image on a CVI panel to be printed separately or on a NIReports object or on a Word document...

If you plan to use a CVI panel fromatted as a report template you could also use DuplicateCtrl to create a copy of the table on the destination panel.

 

As a last resource you could use ClipboardPutTableVals to copy table content to the clipboard and reuse it in a couple of ways.



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 6
(3,305 Views)

Thanks Mr. Bozzolo.  I am using LabVIEW, sorry I misplaced this help ad.  I'm new to the new printing vi(s) of LabVIEW.  The older versions were cumbersome.  Anyway, I would benefit from an efficient way to set-up WORD-like templates.

0 Kudos
Message 3 of 6
(3,290 Views)

Hi Labreports,

 

I understand that you're trying to print to word-like templates. Just a few questions.... What OS are you running on? What version of LabVIEW?

 

Also, I highly recommend that you repost this to the LabVIEW forums so that other users of LabVIEW will also comment on this.

 

Thanks!

 

Lea D. 

Applications Engineering

Lea D.
Applications Engineering
National Instruments
0 Kudos
Message 4 of 6
(3,273 Views)

I have a database of lab results that I would like to access and report using template vis.  The files are simple logfiles created from LabVIEW 8.6.   The report printing of labVIEW has improved but I'm still not able to simply modify a table and then print what I see.  The goal is to set up a series of table templates that would be chosen from simple menu, access the datbase and print a report.   Thanks for response.  My serious computing days are over.  Just an exercise but there might be a use for the final product.

0 Kudos
Message 5 of 6
(3,270 Views)

Hi Labre,

 

Were you able to to set up a template with Roberto's suggestions? Also, when you repost to the LabVIEW forum, be sure to post a link here so that people can connect the two.

 

Thanks!

 

Lea D.

Applications Engineering

Lea D.
Applications Engineering
National Instruments
0 Kudos
Message 6 of 6
(3,259 Views)