Transferring Images from the Vision Assistant Express VI

NI Vision 2019 for LabVIEW Help

Edition Date: March 2019

Part Number: 370281AG-01

»View Product Info
Vision Developoment Module 2019 Help
Vision Development Module 2020 Help

The Vision Assistant Express VI can use FIFOs to transfer images to an FPGA target. The VI processes pixels connected to the Pixel Bus input.

FPGA Target: Transfer Images to and from the Host Machine

Host Machine: Transfer Images to and from the FPGA Target

FPGA Target: Transfer Images to and from the Host Machine

When you drop the Vision Assistant Express VI on an FPGA target, LabVIEW creates the following infrastructure:

block diagram

To use pre-existing FIFOs, take the following steps:

  1. Select the pre-existing FIFOs from Source Image FIFO and Dest Image FIFO drop-down menus on the block diagram.
  2. Delete the Source Image FIFO and Dest Image FIFO from the LabVIEW project window.

Host Machine: Transfer Images to and from the FPGA Target

Place the following VIs on the host VI block diagram to transfer images from the FPGA to the host machine, and vice versa.

  • IMAQ FPGA Configure Image Transfer to Target—Configures the FIFO to transfer the image to the FPGA target.
  • IMAQ FPGA Image Transfer to Target—Transfers the image to the FPGA target.
  • IMAQ Configure Image Transfer from Target—Configures the FIFO to transfer the processed image from the FPGA back to the host.
  • IMAQ FPGA Image Transfer from Target—Transfers the processed image from the FPGA back to the host.

The following diagram is an example of a host VI to transfer images to and from the FPGA target.

block diagram to transfer images from the FPGA target to the host machine

WAS THIS ARTICLE HELPFUL?

Not Helpful