![]() |
![]() |
![]() |
![]() |
![]() |
The setstate operation can change the state of the port during a translation procedure. It can only be used inside a function that is called during a translation procedure to translate a sent or received message.
Related keywords:
port.setstate (SimpleExpression , { Freetext | TemplateInstance [ optional ]}; |
SimpleExpression is the state which the ports state will be changed, and has to be of integer type.
FreeText or TemplateInstance can be used for logging. Its value will be present in the logfile.
Example 1: set ports state to translated without additional information
port.setstate(0);
Example 2: set the state of the port to not translated with additional information
port.setstate(1, "Not successful");
BNF definition of setstate