Clr Method

Description
Returns the counter value of the specified input counter.

Syntax
Function Ctr (BitNumber As Integer) As Integer

Parameters

  • BitNumber
    Number of input bits configured as counters. Only 16 counters can be active at the same time.

Return Value
Returns the counter value.( integer from 0 to 65535)

See Also
CtReset Method

Ctr Example
VB Example:

lblCounter.Text = m_spel.Ctr(1).ToString()  

C# Example:

lblCounter.Text = m_spel.Ctr(1).ToString();