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

TypeNameDefaultDescription
StringfileNameName of html file to which this block prints
StringinstanceNameName of the instance of this plotter
IntegernDblNumber of double values in the array that is sent at each sampling time

Outputs

TypeNameDefaultDescription
BackendpltPointer to data structure for this plotter

Revisions

  • March 23, 2018, by Michael Wetter:
    First implementation.