<< Click to Display Table of Contents >> Navigation: Reference (Scripting) > Docklight Script Commands - The DL Object > Methods > GetReceiveCounter |
Returns the current hit counter value for the specified Receive Sequence. The counter is incremented each time the Receive Sequence is detected within the incoming data stream. It can be reset using the ResetReceiveCounter command. The OpenProject and StartCommunication commands also reset the hit counter to zero.
Return Value
Long
Syntax
result = DL.GetReceiveCounter( nameOrIndex )
The GetReceiveCounter method syntax has these parts:
Part |
Description |
nameOrIndex |
Required. String containing the Name or Sequence Index of a Receive Sequence. |
Remarks
See also WaitForSequence
Example
See WaitForSequence