You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This operator allow to evaluate expressions (similar to Map operator). The operator needs MEP Functions that return Command Objects. In the same way as map, the operator is triggered when an input event arrives. This operator can be used to create actors.

Such MEP functions can be found in the Command section.

Parameter:

  • CommandExpression: The command expression that should be used. See examples at Command

Example

///Sensor management start logging 
cmd = COMMAND({CommandExpression='startLogging("Camera1234"))'}, in)

/// change Timer period
cmd = COMMAND({commandExpression='setPeriod("MyTimer.transport", 1000.0))'}, in)

/// add query
cmd = COMMAND({CommandExpression='addQuery("data = ACCESS(...)", "PQL")'}, in)

  • No labels