Tokens are strings that generate information automatically, which is useful in the headers and footers of reports. You can use tokens to number pages and place a time stamp on a report. You can use tokens with any parameter of a Report Generation VI or the Report Express VI that accepts a string. You can use tokens only with standard and HTML reports.
For example, if you are using the Easy Text Report VI, entering the token <page> in one of the footer strings adds a page number to the footer of every page of the report.
The following list describes the tokens available in LabVIEW.
|<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.|
|<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.|