DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Table definition problem

I am having a problem programatically defining a 2D table and filling it with the data I need to display.  For some reason the script is creating an extra column with no data present (D2TabDataType=expression)  I do not know where it comes from.  I have attached a zip file with the tdms, report and script I am using. 

The first 2D table has the proper data displayed.  The second 2D Table has the extra data of type Expression.  The 3rd table has the proper data displayed also. 

I would appreciate any help on this issue I am having. 

Thanks
BBANACKI
0 Kudos
Message 1 of 3
(3,619 Views)

Hello bbanacki!

After changing the layout filename in your script and allocating an Operator_Name variable I was able to run your example and could reproduce the problem. After this I loaded the layout again and recognized that there are already three tables in it. After deleting this tables and running your script again everything was fine. The reason might be that you accidentally saved a patched layout. If you manipulate an existing layout it is always a good idea to change the PicFile variable to a temporary filename to avoid this.

Matthias

Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 2 of 3
(3,614 Views)

Thank you for the help. That was my problem all along.  It was such an easy fix I can't believe I overlooked it.

 

Greatly appreciated...

BBANACKI
0 Kudos
Message 3 of 3
(3,601 Views)