Page 760 - ExtendSim User Guide
P. 760

734 Data Management and Exchange
User interfaces for data exchange
• To paste data into a data table or database table, click in the upper left corner, in the upper left cell, or in a desired starting cell and give the command Edit > Paste Data. The table cells will be populated downward to the extent of the data in the Clipboard or the number of rows in the data table.
• WhenanExtendSimdatabaseordatabasetablesareselected,theCopyDatabase/PasteData- base commands provide a convenient method to copy an ExtendSim database or tables from one model or one database to another. The command Edit > Duplicate Database is useful for duplicating an ExtendSim database within a model, so you don’t have to create a new data- base structure.
• Regarding “Allow data table titles copying” in the Edit > Options dialog:
• This option is off by default, because you typically would not want to also copy table titles when copying data from a data table.
• ToalsocopyrowandcolumntitleswhencopyingtablesfromPlotterblocks,selectthe option “Allow data table titles copying” in the Edit > Options dialog. ExtendSim will prompt for the titles to be copied. This is helpful when you are copying into a word processing program for presentation.
Importing and exporting data
Importing and exporting is similar to copying/pasting in that both methods involve copying data from one location to another. However, importing/exporting provides additional capabili- ties:
• Some types of importing/exporting can be automated; copy/paste always requires user inter- action.
• Youcanimport/exportwhilethesimulationisrunning.
• It might be faster than reading and writing data because you only import data once at the beginning of the simulation or export once at the end, rather than reading and writing fre- quently.
• The information can be accessed even if it originated on a different computer or an external device.
All the data that is imported/exported gets copied as one piece (a local copy). This means that, whether the exchange happens before, during, or after a simulation run, all the data is made available to the target at the same time. This differs from, and is usually faster than, the Read- ing/Writing method (discussed later in this chapter) where the data is transferred piece by piece during a simulation run.
Data can be imported from or exported to external applications such as spreadsheets and data- base programs. Internally, you can import data to or export data from dialog or plotter data tables, ExtendSim database tables, and global arrays.
In some cases the data is imported/exported directly within ExtendSim or directly between ExtendSim and the other application. In other cases it is imported/exported in the form of text files, a standard communication technology discussed in “Text files” on page 784.
Importing/exporting is one-directional; changing data at the target does not affect data at the source and vice versa. The data can reside locally, be remotely accessed over a network, or accessed via the internet using FTP protocols.
How To


































































































   758   759   760   761   762