functionconstructor
Construct the data structure that allows multiple plotters writing to the same html file
Information
The function constructor is a C function that is called by a Modelica simulator
exactly once during the initialization.
The function returns the object Backend that
will be used to store data that will be plotted to an html file.
Implementation
This function has been implemented to allow mutiple plotters to write their plots to the same html file.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | fileName | Name of html file to which this block prints | |
| String | instanceName | Name of the instance of this plotter | |
| Integer | nDbl | Number of double values in the array that is sent at each sampling time |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Backend | plt | Pointer to data structure for this plotter |
Revisions
-
March 23, 2018, by Michael Wetter:
First implementation.