FbIterateClients (FB)ΒΆ
FUNCTION_BLOCK FbIterateClients EXTENDS FbExecuteSingleVisuActionBase
Iterates over all or only a subset of the currently active clients
- InOut:
Scope
Name
Type
Comment
Inherited from
Input
xExecute
BOOL
Rising edge: Starts defined operationFALSE
: Resets the defined operation after ready condition was reachedETrig
Output
xDone
BOOL
TRUE
: Ready condition reachedETrig
xBusy
BOOL
TRUE
: Operation is runningETrig
xError
BOOL
TRUE
: Error condition reachedETrig
Input
itfClientFilter
With this filter, the clients, where the action should happen, are specified.
Use standard filter from GVL Globals, e.g.
VU.Globals.CurrentClient
, or use a own implentation of the interface.FbExecuteSingleVisuActionBase
Output
eError
FbExecuteSingleVisuActionBase
Input
itfIterationCallback
An instance that will be called during the iteration.
Note
As the iteration takes place within VISU_TASK please make sure that the given object is alive long enough!