Class SimControl.XProc is the simulation control class for an external process simulator. Create a subclass from this class to select this type of simulation control. It is abstract and non-terminal.
Simulator Program Path (sSimProg): an optional cell attribute of SG_TYPE_URL, representing the external process simulation program to be invoked. If not specified, the simulator found in the sim directory will be used.
Invocation Script (sScript): an optional cell attribute of SG_TYPE_URL, representing the script or command file that will be used to run the simulator. If not specified, SGxProc.bat in the bin directory will be used. When customization is needed, it is recommended that the simulation user make a copy of the original script and enter the path of the new, customized file in this field.
Model File Name (sSimFile): an optional cell attribute of SG_TYPE_URL, containing the name of the textual model file to be generated by SansGUI. If not specified, the default is the Project Model name with a .txt extension.
Model File Type: (iSimType): a cell attribute of SG_TYPE_INT, specifying the type of textual model file to be generated. SansGUI currently supports the Tabular Data Blocks format with the integer value 0 and XML Model Data format with the value 1.
Working Directory (sWorkDir): an optional cell attribute of SG_TYPE_URL, representing the directory in which the simulator will be working. If not specified, it will be the directory where the Project Model resides.
Command Parameters: (sSimParams): an optional cell attribute of SG_TYPE_CHAR, defined for the simulator. Check your simulator documentation to see if any command line parameter is needed.
None.
Not applicable.
For an external process simulator, a subclass from this class has to be defined. It can be used in conjunction with any in-process simulation control. New cell attributes can be added to the subclass for simulator specific values. The subclass of this class is terminal.
Accessing Class Properties and Defining Simulation Control Classes in the SansGUI Developer's Guide
SansGUI Modeling and Simulation Environment Version 1.2
Copyright © 2000-2003 ProtoDesign, Inc. All rights reserved.