Executes an FPScript statement and returns the result as a flexpro.Data object.
Syntax
flexpro.run(FPScript)
The syntax of the flexpro.run functionconsists of the following parts:
Part |
Description |
---|---|
FPScript |
A string with the FPScript code. |
Result
A flexpro.Data object that represents the result value as FlexPro data with a unit.
Available In
FlexPro Professional, Developer Suite
Examples
this.data = flexpro.run('(Signal)[0, 500]') |
Returns a section of the signal. |