cancel
Showing results for 
Search instead for 
Did you mean: 

Write produced parts into TableFile

Experimenter
Experimenter

Hi, 

 

I have Source - Assembly station - Drain and a number of different types of produced parts. I want to write the number of produced parts into a TableFile. How do I do that?

 

Grateful for your help,

Malin

2 REPLIES

Re: Write produced parts into TableFile

Phenom
Phenom

you could proceed as follows:

- add a tableFile to your frame

- activate the row index and add all Part names into the row index column

- format the column 1 as integer

 

Then you can use the entrance control of the drain to count the parts

 

tableFile[1,@.name]:=tableFile[1,@.name]+1

 

 

You need to delete the content of the tableFile e.g. in the init-method to start with a empty table.


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


Re: Write produced parts into TableFile

Experimenter
Experimenter

Hi Seffen,

 

Thanks a lot, it works perfectly!

 

Best regards,

Malin