02-01-2008 05:33 AM
I am trying to create text report from array of data (acquired online). I have a specific problem of setting Center header title with larger font as well as right header with smaller size font. Herewith attached image file.
Any help would be appreciated.
Kousy
02-04-2008 11:20 AM
Hi Kousy,
I would recommend that you take a look at the Text Report Example.vi that can be found in the NI Example Finder. It goes through all of the text report generation capabilities. If you take a look at this example, it has a case structure that wires into the font setttings input. In this case structure, depending on if the data is for a standard report or for HTML, it will have a specific font style and size. Can you explain a bit more at the specific problem that you are getting? Are you getting an error or is it just not changing the size of the font in the header?
Carla
02-15-2008 04:44 AM
Hi,
I am attaching doc file , when acquiring data online I want to print a report format like this. Can you please send out a simple vi elaborating that.
I can change the font, style everything, to all Left/Center/Right Header text. But its not inserting Center Header with Larger font & next line right header with smaller size font. Because I have supplied larger font with Center Heading only. Then inserted a new line. Again I have supplied smaller font with right heading only (now the center/left header string are empty) that’s creating confusion i hope. if this is the reason, then need to find out work around to make it the way i want probably. Otherwise I may be wrong.
Hope this clarification is ok.
Kousy
02-18-2008 11:21 AM
Hi Kousy,
Thanks for your reply. Have you tried using the New Report and the Word Easy Text VIs? They are located under Programming»Report Generation»Word Specific in the functions palette. I have been playing around with an example that uses these VIs and it seems that you can change the font and the text size for the title and the body text. I was looking at Sample Report (Word).vi from the NI Example Finder. One of the inputs located on these VIs is font setting source. If you set this to Font Dialog Box (Create»Constant), then it will prompt you to choose which font settings you want when it is opening a word document that it is creating for you. Also, you can select which type of report you want to generate, so it is not just for Word but can be used for HTML, standard and excel. All you would have to do differently is import your data instead of using the data inputted into the table in the example. I hope this helps!
Carla
02-18-2008 10:30 PM
Hi Carla,
I could not see "Programming»Report Generation»Word Specific" in the functions palette, this feature is not available in LV8.0 it seems.
I am aware and able to change the font setting size,name etc for header and body text. but my query is how to change the different font size to set to center header text and right header text.
Regards,
Kousy
02-19-2008 09:56 AM