LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

i want to know keyword for report my file

i want to know the keywords for the reporting my file... that is for example for newline printing keywords is <newline> and tab is <tab>..

 

same way  i want to know about the keywords...

Regards,
N. Srinivasan
0 Kudos
Message 1 of 7
(3,537 Views)

Can you explain in more detail?  ..or show us some example code?

 

Are you wanting to know which ASCII characters are contained or which should be used a delimiters in an txt report file? 

 

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 2 of 7
(3,522 Views)

suppose i want to print the report of my program using report generating tool.... in set header text or in set footer text i want to display the date, time, etc....

 

   And the same case if i'm using append to the text means i can use the tab the text with the key word as <tab>

and the same if i want to display new line means its keywords is <newline>....

 

 

 

some keywords they are: Tab - <tab>

                                        NEWLINE - <newline>, date-<longdate> , time - < time>

 

similarly i want to display  the page no, date in this format as 16/10/2009 etc...

 

 

 

Regards,
N. Srinivasan
0 Kudos
Message 3 of 7
(3,502 Views)

It's actually in the LabVIEW Help and at this link.

 

Search for Using Tokens in Reports in LabVIEW Help.

 

Cut/Paste below:

 

The following list describes the tokens available in LabVIEW.
Token Description
<tab> (Windows) For standard reports, LabVIEW indents the text to the next tab location. For HTML reports, LabVIEW interprets this token as <br>.
<page> Current page number. LabVIEW ignores this token for HTML reports.
<pages> Total number of pages. LabVIEW ignores this token for HTML reports.
<pagenofm> Current page number with the total number of pages in the report. LabVIEW ignores this token for HTML reports.

Example: 7 of 30
<shortdate> Current date in the form xx/xx/xx.

Example: 10/5/98
<longdate> Current date in the form Day, Month and Date, Year.

The month, date, and year order defaults to the date settings of your operating system.

Example: Monday, October 05, 1998
<time> Current time in the form Hour:Minute:Second AM/PM.

Defaults to the clock settings of your computer.

Example: 1:58:22 PM
<newline> Inserts a line break in the report.

 

 


 

 

Hope that's what you're looking for.

 

Matt

Message Edited by MattWhitlock on 10-16-2009 12:10 AM
0 Kudos
Message 4 of 7
(3,496 Views)

thank u matt... i need this answer only...

 

can u tell any other extra short key format can use in report generation.. im asking because to make the report so good....!!!!!!!!!!!

Regards,
N. Srinivasan
0 Kudos
Message 5 of 7
(3,483 Views)

There's a lot more you can do by using standard HTML tags with the HTML style report, but the standard report format is fairly basic (but clean).

 

For things like formatting the date, you can just do normal string manipulation with the Format Date/Time String VI as below:

 

Image2.png

 

Also, if the PC running the report has Microsoft Office Word installed, then you can have a great looking report with very little effort.  See NI Example Finder for examples such as Sample Report (Word).vi and Generate Report From Template (Word).vi.  I've had good luck using Word with templates.

 

Matt

0 Kudos
Message 6 of 7
(3,475 Views)
thank you matt... thanks for your suggestion.... i'll see it further... if it have doubt means i'll contact  u again...
Regards,
N. Srinivasan
0 Kudos
Message 7 of 7
(3,462 Views)