File module – Rockwell Automation Arena Users Guide User Manual
Page 76
A
RENA
U
SER
’
S
G
UIDE
68
• •
•
•
•
File module
D
ESCRIPTION
The File module must be included whenever external files are accessed using the Read-
Write module. This module identifies the system file name and defines the access method,
formatting, and operational characteristics of the files.
T
YPICAL
USES
File containing predefined airline flight data
File specifying customer order times and relevant information
File to write user model configuration data from menu input
P
ROMPTS
Uptime in this State
only
Defines the state that should be considered for the time between failures
(only for time-based failures). If state is not specified, then all states are
considered (i.e., the time between failures does not depend on the time
spent in a specific state, but rather on the total simulation time). For
example, you might want to define a failure to be based only on the state
Busy, and therefore, the time between downtimes would be based on the
amount of time that a resource is busy, not simulated clock time.
Prompt
Description
Name
The name of the file whose characteristics are being defined. This name
must be unique.
Access Type
The file type.
Operating System File
Name
Name of the actual file that is being read from or to which it is being
written.
Connecting String
Connection string used to open ADO connection to the data source.
Structure
File structure, which can be unformatted, free format, or a specific C or
FORTRAN format.
End of File Action
Type of action to occur if an end of file condition is reached.
Initialize Option
Action to be taken on file at beginning of each simulation replication.
Comment
Character indicating comment record.
Prompt
Description