Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Append Table to Report VI Does Not Display All of My Column and Row Headers

Primary Software: LabVIEW Development Systems>>LabVIEW Full Development System
Primary Software Version: 8.6
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I am using the Apend Table to Report VI to export the data from my table front panel object to a report.  The only problem is that all of my column and row headers are not showing up.  This doesn't happen all the time and it doesn't work the same for all rows and columns.  For example, my last column will not show up if I don't have any data underneath it, but my first column always shows up if there is any data in the table.  The same is true for my row headers.  How do I get my column and row headers to reliably show up in my report?


Figure 1: Export Table to Report


Solution:
This is caused by the fact that LabVIEW will only display row and column headers that correspond to the 2-D array that makes up the table.  If your data does not encompass the size of the table as determined by the column and row headers, the excess column and row headers will be ignored.

There is a simple workaround for this behavior.  You can either
  • Go to the bottom right element in your table and place a single space as the data.
  • Go to the cell below or to the right of the bottom right element of your table and place a single space as the data.

Figure 2: Place a Space in the Bottom Right Cell


You then need to right-click on the table and select Data Operations » Make Current Value Default.  Make sure that any other information in the table is at a desired default value.  Save the VI and from now on your reports will contain all of your column and row headers regardless of what data is in your table.


Figure 3: Make Current Value Default


Related Links:
LabVIEW 8.6 Help: Table Properties
LabVIEW 8.6 Help: Append Table to Report VI
KnowledgeBase 2PP7CM7Y: How Can I Save a Front Panel Control to a JPEG, PNG, or BMP File?

Attachments:
Export Table to Report.vi
Table Block Diagram.jpg
Table Space.jpg
Make Current Value Default.jpg




Report Date: 11/04/2008
Last Updated: 11/13/2008
Document ID: 4R3EUSFN

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit