Latch.Count Shared Property

Read-only shared property that returns the number of Latch objects pending in the queue for a robot.

Latch.Count(robot )

Prerequisites

Requires that the Encoder Latching or Advanced Controls or Conveyor Tracking License be installed on the controller.

Parameters

robot

An optional numeric expression that specifies the robot queue to be accessed. If not specified, a default value of 1 is assumed.

Remarks

This property returns the number of Latch objects pending in the Latch queue for a specified robot.

Examples

Console.WriteLine("Pending latch results: " &  CStr( Latch.Count ))

See Also

Latch Class