Display an Acquired Image

This topic covers how to display an image output by a Camera Reference Block, and assumes that an image Device has been added to a Task.

Note: See the Integrating Cameras topic for more information on adding and configuring a Camera Device.
  1. On the Page, from the Toolbox, open the Vision node and drag and drop a VisionPro Display onto the Page.

  2. In the Properties, press the grey dot beside the Subject parameter to launch the Expression Builder.

  3. Press the Add Tag button, and in the Tag Selector dialog, navigate to the desired image Device, select the Image and press the Accept button.
  4. The Expression Builder will now display the newly created reference. Press the Accept button.

  5. Now, in the Properties, the dot beside the Subject parameter will now be green.

  6. Next, to facilitate cycling through images, add a Button to the Page from the User Controls node.
  7. Set the Click Command parameter to Device.{CameraName}.Acquire, and in the Text parameter, enter "Acquire Image."
  8. Place the Page into Test Mode, and press the Acquire Image button to force the connected camera device to acquire an image.