blockTriggeredTableRead

Output single row, increment with Boolean trigger

Extends from Modelica.Blocks.Interfaces.MO (Multiple Output continuous control block).

Parameters

TypeNameDefaultDescription
Integernout (from MO)1Number of outputs
BooleantableOnFilefalseTable is read from file
Realtable[0, 0; 1, 0]Table data if tableOnFile==false
Stringfilename""
Stringtablename""
IntegertableSizeif tableOnFile then Utilities.readTableSize(filename, tablename) else {size(table, 1), size(table, 2)}

Connectors

TypeNameDefaultDescription
RealOutput[nout]y (from MO)Connector of Real output signals
Modelica.Blocks.Interfaces.BooleanInputtrigger
Modelica.Blocks.Interfaces.IntegerOutputrow
Modelica.Blocks.Interfaces.BooleanOutputlastRow

Components

TypeNameDefaultDescription
Realdataif tableOnFile then Utilities.readTable(filename, tablename, tableSize[1], tableSize[2]) else table