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.

Braydn T avatar image Braydn T commented ·

@Omar Aguilera Rico

Did this answer help you? If so, could you please accept it? If not, could you let us know what else we can do to help you? Thanks!

0 Likes 0 ·

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.