Page 799 - ExtendSim User Guide
P. 799

Data Management and Exchange 773
Blocks for data management and exchange
Query Equation/QueryEquation(I) Data Source Create
Data Import Export
Data Init
Data Specs
Object Mapper
See Page
Item Value/Item Value Value Value Value Value Utilities
☞ Since Microsoft constantly updates and replaces these protocols, it is best practice to use the ExtendSim blocks for inter-application communication.
Read and Write blocks
The Read and Write blocks (Value library) and the Read(I) and Write(I) blocks (Item library) are designed for exchang- ing model data with a data structure. These data access blocks make it easy to get data into or send data out of mod- els.
Both of the Read blocks lookup information found in a speci- fied data source; they can report the information found on their value output connectors. The Read(I) block can also store the information as an attribute on items passing through.
Both of the Write blocks send information to a specified data
destination; the information to be sent can come from their
value input connectors. The Write(I) block can also send the attribute information that has been found on items passing through.
☞ The Query Equation and Query Equation(I) can use an equation to search an ExtendSim data- base table for the highest ranking record available during the run. See page 775 for more infor- mation.
Communicating with data structures
Depending on which library (Value or Item) the Read/Write blocks are from, they communi- cate with different types of data structures.
Read and Write blocks (Value library)
As determined by selections in popup menus in their dialogs, the Read and Write blocks in the Value library exchange data with:
• ExtendSim database • Global array
• Excel workbook
Top: Read(I) and Write(I) blocks Middle: Read and Write blocks
How To

   797   798   799   800   801