LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to print colour table?

Hi to all,

                       I need one help from you. I have table with some different colours. I need print this table (standard report or word report type) with colour what I look in front panel same need into my print paper. I tried both type (standard report or word report type) , But I got only without colour table so please any one tell me how can print with colour table.

 

Thanks in advance

Arunkumar M

India

0 Kudos
Message 1 of 10
(3,910 Views)
if you do not want to edit your table after creating report you can use
Append Control Image to Report VI
and create image of your table inside your report
0 Kudos
Message 2 of 10
(3,902 Views)

It is always a good idea to post some code (meaning a VI) when asking a question.  You describe a "table" -- what, exactly, is this?  How does it have color?  Having some code (and possibly some data, so we can see what you mean) would help us make helpful suggestions.

 

I've not used Word reports, but I have used HTML and Excel Report.  In Excel, I know how to color rows, columns, or cells.  I think there may be similar "format" settings for Word and HTML (a search of the Functions for the Report Generation Toolkit, assuming you have that available, suggests that you can set Font Color selectively in Word, same as in Excel).

 

So if you have the RGT, just use the existing Format functions for Word (or Excel).

 

Bob Schor

0 Kudos
Message 3 of 10
(3,898 Views)

Hi Hatef.fouladi,

             

             Thanks for quick reply, Append Control Image to Report.vi is only convert visible area of table, but I need full table's data. My table have minimum 100 rows . so this vi is not work for my task . I tried this vi also, I got only visible area. So give any other suggestion.

 

Thanks in advance

Arunkumar m

India

0 Kudos
Message 4 of 10
(3,893 Views)

Hi Bob_Schor,

 

          Thanks for your reply. I attached VI PFA. and give suggestion for me. Actually I observe temperature from one Boiler in 24hrs . At the time I want give different colours for different temperature. at the same time i need print that table in hard copy also. This is my task. I got everything fine except cell color in the hard copy, So give solution any one.

 

Thanks

Arunkumar M

India

0 Kudos
Message 5 of 10
(3,890 Views)

I tried insert my vi but I cant so  I attached images.-29-11.jpg-29-19.jpg

0 Kudos
Message 6 of 10
(3,886 Views)
as I know the only vi in report generation that is relate to table color is Excel Set Cell Color and Border if it is possible for you to use that it could helpful but I have doubt that It could help you
also as other easy way to do for my next suggest is use some tables indicator attach to same data each of them cover part of your data for example if you have 100 row you can use 5 table with 20 row and hide all these 5 table behind the main table and then use Append Control Image to Report VI . I know that this method code look a bit nasty code but I think it work and it is easy to use too
0 Kudos
Message 7 of 10
(3,880 Views)

@arun575 wrote:

I tried insert my vi but I cant so  I attached images.


I suspect you have "Attach" and "Insert" confused.  You inserted your Image.  I want you to attach your VI.  Do you see the little button that says "Attachments", and "Choose File" in the image I have inserted below?  When you reply, click the Choose File button and go click on your VI to attach it to your reply.

 

Attachment.png

 

Don't feel bad -- it took me a few months when I started using the Forum to figure out Attachments and Insertions (someone pointed out to me where the buttons were located).

 

Bob Schor

0 Kudos
Message 8 of 10
(3,870 Views)

Sorry for late reply to all . That day I tried only attachment that is not working in my system that is the reason I insert images.  Now also I am geeting same error I dont know why this error coming . I insert that error image . -36-06.jpg

0 Kudos
Message 9 of 10
(3,816 Views)

Hi Hatef.fouladi,

                 

          Spilt the table is one of the good idea. But lookwise this is not a good one. so first I need direct printing with colour cell if it not possible let I consider split the row and print it.

 

Thanks

Arunkumar M

0 Kudos
Message 10 of 10
(3,814 Views)