Cancel
Showing results for 
Search instead for 
Did you mean: 

Append Row / SchreibeZeile -> gather MU data in table

Valued Contributor
Valued Contributor

Hello.
I have basic questions about using the table for data gathering.
If one of the methods works out, I am happy.

1) I am using Technomatrix Plant simulation version 11, and the function
"table address.appendrow(@.name,@.data1,@.data2)" does not work.
The program is telling me "appendrow" is unknown. Maybe it is added by later versions only?

2) Also, schreibeZeile "root.EZT.schreibeZeile(@.Name, @.In_Time);" does not work.
My feedback comment is "Falsche Parameteranzahl in schreibeZeile: 2 übergeben, wenigstens 3 erwartet."
(more than 2 parameters expected for the table)

3) "root.EZT.schreibeZeile(@.Name, @.In_Time, @.Out_Time,(@.Out_Time - @.In_Time));"
gives me: unbekannter Index in (table)  (unknown index in table)

I just want to take a user-defined attribute of an MU (time) and print it in a list.
table as shown below: (MU name, entry time, exit time, running time).
(placed in entry/exit controls where MUs are moved along the line)
1.PNG

thank you very much for your advice!

1 REPLY

Re: Append Row / SchreibeZeile -> gather MU data in table

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

1. appendRow doesnt exists in v.11

 

2. you need to specify the start position inside the table

 

root.EZT.schreibeZeile(1,root.EZT.yDim+1,@.Name, @.In_Time)

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net