Instance
Previous  Top  Next

The [Instance] Section allows you to run multiple instances of GSEOS at the same time on the same machine. Each instance picks up its assigned configuration information from the gseos.ini file by using the [Instance] section as a lookup table.


EntryDescription  
[Section]A list of reference sections to look up for the according instance. The first entry identifies the section referenced by the first instance, the second entry identifies the section referenced by the second instance and so on. If no entry is found for the current instance, the default section is taken. If no instance dependent handling is used for a predefined section the default section is assumed. If you don't plan using this feature you don't need to supply the [Instance] section.  

Example
The following example shows how to install different [Recorder] sections depending on the current instance. The first instance for example is used for recording data, whereas the second instance is mainly used to replay data from an archive.

[Instance]
;                  1st    2nd    3dr    4th    ...  instance
Project          = Prj1   Prj2
Bios             = Bios1  Bios2
Recorder         = Rec1   Rec2

[Project]
Name             = CELIAS
Title            = CELIAS

[Prj1]
Name             = CELIAS
Title            = CELIAS Sim-I

[Prj2]
Name             = CELIAS
Title            = CELIAS Sim-II

[Bios1]
IOBaseAddress    = 0x300
HSSInterrupt     = 11

[Bios2]
IOBaseAddress    = 0x140
HSSInterrupt     = 10

[Recorder]
DataPath         = ..\data
FileSize         = 1024

[Rec1]
DataPath         = ..\write
FileSize         = 1024

[Rec2]
DataPath         = ..\read
FileSize         = 1024