FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro Support
Knowledge
Community
About us
References
Jobs
General Contact
List Of Retailers
FlexPro Support
EN
DE
FR
Placeholder

FlexPro Documentation 2025

flexpro.run

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.

 

See Also

call Function