# Setting Up the ViDi Sub Task Block

With the Camera Device added and configured, you can now add a ViDi Sub Task Block to your project.

1. In the Task Toolbox, expand the ViDi Suite node and select a ViDi Sub Task block to drag and drop onto the Task.

2. Connect the output pin of the Camera Device block to the input pin of the ViDi Sub Task block.

3. Press the Run All button to pass the image to the ViDi Sub Task block.

4. Double-click the ViDi Sub Task block to open the Sub Task Editor, where you can program the ViDi Sub Task block.