Create a Custom Activity

VPL allows users to create custom activities, which you build by dragging blocks onto the activity design surface. To create a new activity, move an instance of the basic activity named Activity onto the main diagram. You can then double-click this activity to get to the activity design surface.

The activity design surface looks slightly different from the main diagram (see Figure 3-17). The square in the left border represents the input, and the square in the right border is the output. The circle in the right border relates to notifications, and an activity can have none, one, or several notifications associated with it.

Figure 3-17. The activity design surface includes orange squares and a circle to represent the input ...

Get Programming Microsoft® Robotics Studio now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.