question

Omar Aguilera Rico avatar image
0 Likes"
Omar Aguilera Rico asked Braydn T commented

Export StatisticsCollectors through code - GUI

Hi! How can I export the information from StatisticsCollectors> Processor1PieChart> General> View Table via code to a specific sheet in an Excel file or create a CSV? What I am looking for is that clicking on a GUI will generate the file or write the information on a specific sheet in Excel.

FlexSim 19.1.1
statistics collectorguiview table
custom.png (83.4 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jordan Johnson avatar image
1 Like"
Jordan Johnson answered

The View Table button uses the exporttable() command, passing in the Statistics Collector node. This command will export the table to a CSV file.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.