NI Vision for LabVIEW

IMAQ FPGA FIFO to Pixel Bus VI

  • Updated2023-02-21
  • 30 minute(s) read
Owning Palette: Image Transfer
Requires: NI Vision Development Module

Reads image pixels out of the specified FIFO and returns a Pixel Bus cluster of the requested type. The Pixel Bus contains the pixel data from the FIFO along with some additional flags that indicate when the pixel data is valid, an end of a line has been reached, or an end of the image has been reached. The Pixel Bus is used to pass image data to all of the other VIs in the NI Vision Development Module for FPGA library. Only one of the DV, EOL, and EOI flags in the Pixel Bus cluster will assert on a given clock cycle. When the last pixel of an image is reached, the Pixel Bus will contain the pixel data and the DV flag will be TRUE and the EOL and EOI flags will be FALSE. The next clock cycle, the EOL flag will be TRUE and the DV and EOI flags will be FALSE. The following clock cycle, the EOI flag will be TRUE and the DV and EOL flags will be FALSE.

The data type of the FIFO must match the fundamental data type of the pixel:

  • A U8 FIFO must match U8 pixels
  • A U16 FIFO must match U16 pixels
  • A U32 FIFO must match RGB32 pixels or HSL32 pixels

IMAQ FPGA FIFO to Pixel Bus U8x1

Reads image pixels out of the specified FIFO and returns a Pixel Bus cluster of the requested type. The Pixel Bus contains the pixel data from the FIFO along with some additional flags that indicate when the pixel data is valid, an end of a line has been reached, or an end of the image has been reached. The Pixel Bus is used to pass image data to all of the other VIs in the NI Vision Development Module for FPGA library. Only one of the DV, EOL, and EOI flags in the Pixel Bus cluster will assert on a given clock cycle. When the last pixel of an image is reached, the Pixel Bus will contain the pixel data and the DV flag will be TRUE and the EOL and EOI flags will be FALSE. The next clock cycle, the EOL flag will be TRUE and the DV and EOI flags will be FALSE. The following clock cycle, the EOI flag will be TRUE and the DV and EOL flags will be FALSE.

IMAQ FPGA FIFO to Pixel Bus U8x1

cio.gif

Source Image FIFO refers to the FIFO that contains the image pixels to process. This FIFO can be any type of FIFO supported by LabVIEW FPGA, but typically this will refer to a DMA FIFO that is transferring image pixels from the host processor to the target FPGA.

cnclst.gif

Image Size specifies the image width and height in pixels. These values are used to determine when to assert the EOL and EOI flags in the Pixel Bus Out cluster. If either the Width or Height value is 0, the Output Valid terminal returns FALSE during that cycle. If this VI will be used with a Host to Target DMA FIFO, creating a front panel control for this input on the top-level FPGA VI will allow the IMAQ FPGA Configure Image Transfer to Target VI on the host to set this value.

cu32.gif

Width is the width of the image in pixels.

cu32.gif

Height is the height of the image in pixels.

cbool.gif

Ready For Output specifies whether downstream nodes are ready for this node to return a new value. The default is TRUE. Use a Feedback Node to wire the Ready for Input output of a downstream node to this input of the current node.

Note  If this terminal is FALSE during a given cycle, the output valid terminal returns FALSE during that cycle.
icclst.gif

Pixel Bus Out when Input Valid is TRUE, contains one of the following: valid pixel data, an end of line signal, or an end of image signal.

iu8.gif

Pixel Data is the value of the pixel.

ibool.gif

DV Data valid. Determines whether the Pixel Data element should be use (TRUE) or ignored (FALSE).

ibool.gif

EOL End of line. When TRUE, indicates that the end of the line has been reached.

ibool.gif

EOI End of image. When TRUE, indicates that the end of the image has been reached.

ienum.gif

Data Type is used in the block diagram for determining the type of the Pixel Bus. Unused during processing and gets optimized out of the compiled bit stream.

inclst.gif

Source FIFO Status returns the status of the FIFO designated by the Source Image FIFO input. If this VI will be used with a Host to Target DMA FIFO, creating a front panel indicator for this output on the top-level FPGA VI will allow the IMAQ FPGA Wait for Image Transfer Complete VI on the host to get this value in order to determine when the FIFO is empty.

iu32.gif

Number of Elements to Read is the current depth of the FIFO. When this value reaches 0, the FIFO is empty.

ibool.gif

Output Valid returns TRUE if this node has computed a result that downstream nodes can use. Wire this output to the Input Valid input of a downstream node to transfer data from the node to the downstream node.

IMAQ FPGA FIFO to Pixel Bus U8x8

Reads image pixels out of the specified FIFO and returns a Pixel Bus cluster of the requested type. The Pixel Bus contains the pixel data from the FIFO along with some additional flags that indicate when the pixel data is valid, an end of a line has been reached, or an end of the image has been reached. The Pixel Bus is used to pass image data to all of the other VIs in the NI Vision Development Module for FPGA library. Only one of the DV, EOL, and EOI flags in the Pixel Bus cluster will assert on a given clock cycle. When the last pixel of an image is reached, the Pixel Bus will contain the pixel data and the DV flag will be TRUE and the EOL and EOI flags will be FALSE. The next clock cycle, the EOL flag will be TRUE and the DV and EOI flags will be FALSE. The following clock cycle, the EOI flag will be TRUE and the DV and EOL flags will be FALSE.

IMAQ FPGA FIFO to Pixel Bus U8x8

cio.gif

Source Image FIFO refers to the FIFO that contains the image pixels to process. This FIFO can be any type of FIFO supported by LabVIEW FPGA, but typically this will refer to a DMA FIFO that is transferring image pixels from the host processor to the target FPGA.

cnclst.gif

Image Size specifies the image width and height in pixels. These values are used to determine when to assert the EOL and EOI flags in the Pixel Bus Out cluster. If either the Width or Height value is 0, the Output Valid terminal returns FALSE during that cycle. If this VI will be used with a Host to Target DMA FIFO, creating a front panel control for this input on the top-level FPGA VI will allow the IMAQ FPGA Configure Image Transfer to Target VI on the host to set this value.

cu32.gif

Width is the width of the image in pixels.

cu32.gif

Height is the height of the image in pixels.

cbool.gif

Ready For Output specifies whether downstream nodes are ready for this node to return a new value. The default is TRUE. Use a Feedback Node to wire the Ready for Input output of a downstream node to this input of the current node.

Note  If this terminal is FALSE during a given cycle, the output valid terminal returns FALSE during that cycle.
icclst.gif

Pixel Bus Out when Input Valid is TRUE, contains one of the following: valid pixel data, an end of line signal, or an end of image signal.

iu8.gif

Pixel Data is the value of the pixel.

ibool.gif

DV Data valid. Determines whether the Pixel Data element should be use (TRUE) or ignored (FALSE).

ibool.gif

EOL End of line. When TRUE, indicates that the end of the line has been reached.

ibool.gif

EOI End of image. When TRUE, indicates that the end of the image has been reached.

ienum.gif

Data Type is used in the block diagram for determining the type of the Pixel Bus. Unused during processing and gets optimized out of the compiled bit stream.

inclst.gif

Source FIFO Status returns the status of the FIFO designated by the Source Image FIFO input. If this VI will be used with a Host to Target DMA FIFO, creating a front panel indicator for this output on the top-level FPGA VI will allow the IMAQ FPGA Wait for Image Transfer Complete VI on the host to get this value in order to determine when the FIFO is empty.

iu32.gif

Number of Elements to Read is the current depth of the FIFO. When this value reaches 0, the FIFO is empty.

ibool.gif

Output Valid returns TRUE if this node has computed a result that downstream nodes can use. Wire this output to the Input Valid input of a downstream node to transfer data from the node to the downstream node.

IMAQ FPGA FIFO to Pixel Bus U16x1

Reads image pixels out of the specified FIFO and returns a Pixel Bus cluster of the requested type. The Pixel Bus contains the pixel data from the FIFO along with some additional flags that indicate when the pixel data is valid, an end of a line has been reached, or an end of the image has been reached. The Pixel Bus is used to pass image data to all of the other VIs in the NI Vision Development Module for FPGA library. Only one of the DV, EOL, and EOI flags in the Pixel Bus cluster will assert on a given clock cycle. When the last pixel of an image is reached, the Pixel Bus will contain the pixel data and the DV flag will be TRUE and the EOL and EOI flags will be FALSE. The next clock cycle, the EOL flag will be TRUE and the DV and EOI flags will be FALSE. The following clock cycle, the EOI flag will be TRUE and the DV and EOL flags will be FALSE.

IMAQ FPGA FIFO to Pixel Bus U16x1

cio.gif

Source Image FIFO refers to the FIFO that contains the image pixels to process. This FIFO can be any type of FIFO supported by LabVIEW FPGA, but typically this will refer to a DMA FIFO that is transferring image pixels from the host processor to the target FPGA.

cnclst.gif

Image Size specifies the image width and height in pixels. These values are used to determine when to assert the EOL and EOI flags in the Pixel Bus Out cluster. If either the Width or Height value is 0, the Output Valid terminal returns FALSE during that cycle. If this VI will be used with a Host to Target DMA FIFO, creating a front panel control for this input on the top-level FPGA VI will allow the IMAQ FPGA Configure Image Transfer to Target VI on the host to set this value.

cu32.gif

Width is the width of the image in pixels.

cu32.gif

Height is the height of the image in pixels.

cbool.gif

Ready For Output specifies whether downstream nodes are ready for this node to return a new value. The default is TRUE. Use a Feedback Node to wire the Ready for Input output of a downstream node to this input of the current node.

Note  If this terminal is FALSE during a given cycle, the output valid terminal returns FALSE during that cycle.
icclst.gif

Pixel Bus Out when Input Valid is TRUE, contains one of the following: valid pixel data, an end of line signal, or an end of image signal.

iu16.gif

Pixel Data is the value of the pixel.

ibool.gif

DV Data valid. Determines whether the Pixel Data element should be use (TRUE) or ignored (FALSE).

ibool.gif

EOL End of line. When TRUE, indicates that the end of the line has been reached.

ibool.gif

EOI End of image. When TRUE, indicates that the end of the image has been reached.

ienum.gif

Data Type is used in the block diagram for determining the type of the Pixel Bus. Unused during processing and gets optimized out of the compiled bit stream.

inclst.gif

Source FIFO Status returns the status of the FIFO designated by the Source Image FIFO input. If this VI will be used with a Host to Target DMA FIFO, creating a front panel indicator for this output on the top-level FPGA VI will allow the IMAQ FPGA Wait for Image Transfer Complete VI on the host to get this value in order to determine when the FIFO is empty.

iu32.gif

Number of Elements to Read is the current depth of the FIFO. When this value reaches 0, the FIFO is empty.

ibool.gif

Output Valid returns TRUE if this node has computed a result that downstream nodes can use. Wire this output to the Input Valid input of a downstream node to transfer data from the node to the downstream node.

IMAQ FPGA FIFO to Pixel Bus U16x8

Reads image pixels out of the specified FIFO and returns a Pixel Bus cluster of the requested type. The Pixel Bus contains the pixel data from the FIFO along with some additional flags that indicate when the pixel data is valid, an end of a line has been reached, or an end of the image has been reached. The Pixel Bus is used to pass image data to all of the other VIs in the NI Vision Development Module for FPGA library. Only one of the DV, EOL, and EOI flags in the Pixel Bus cluster will assert on a given clock cycle. When the last pixel of an image is reached, the Pixel Bus will contain the pixel data and the DV flag will be TRUE and the EOL and EOI flags will be FALSE. The next clock cycle, the EOL flag will be TRUE and the DV and EOI flags will be FALSE. The following clock cycle, the EOI flag will be TRUE and the DV and EOL flags will be FALSE.

IMAQ FPGA FIFO to Pixel Bus U16x8

cio.gif

Source Image FIFO refers to the FIFO that contains the image pixels to process. This FIFO can be any type of FIFO supported by LabVIEW FPGA, but typically this will refer to a DMA FIFO that is transferring image pixels from the host processor to the target FPGA.

cnclst.gif

Image Size specifies the image width and height in pixels. These values are used to determine when to assert the EOL and EOI flags in the Pixel Bus Out cluster. If either the Width or Height value is 0, the Output Valid terminal returns FALSE during that cycle. If this VI will be used with a Host to Target DMA FIFO, creating a front panel control for this input on the top-level FPGA VI will allow the IMAQ FPGA Configure Image Transfer to Target VI on the host to set this value.

cu32.gif

Width is the width of the image in pixels.

cu32.gif

Height is the height of the image in pixels.

cbool.gif

Ready For Output specifies whether downstream nodes are ready for this node to return a new value. The default is TRUE. Use a Feedback Node to wire the Ready for Input output of a downstream node to this input of the current node.

Note  If this terminal is FALSE during a given cycle, the output valid terminal returns FALSE during that cycle.
icclst.gif

Pixel Bus Out when Input Valid is TRUE, contains one of the following: valid pixel data, an end of line signal, or an end of image signal.

iu16.gif

Pixel Data is the value of the pixel.

ibool.gif

DV Data valid. Determines whether the Pixel Data element should be use (TRUE) or ignored (FALSE).

ibool.gif

EOL End of line. When TRUE, indicates that the end of the line has been reached.

ibool.gif

EOI End of image. When TRUE, indicates that the end of the image has been reached.

ienum.gif

Data Type is used in the block diagram for determining the type of the Pixel Bus. Unused during processing and gets optimized out of the compiled bit stream.

inclst.gif

Source FIFO Status returns the status of the FIFO designated by the Source Image FIFO input. If this VI will be used with a Host to Target DMA FIFO, creating a front panel indicator for this output on the top-level FPGA VI will allow the IMAQ FPGA Wait for Image Transfer Complete VI on the host to get this value in order to determine when the FIFO is empty.

iu32.gif

Number of Elements to Read is the current depth of the FIFO. When this value reaches 0, the FIFO is empty.

ibool.gif

Output Valid returns TRUE if this node has computed a result that downstream nodes can use. Wire this output to the Input Valid input of a downstream node to transfer data from the node to the downstream node.

IMAQ FPGA FIFO to Pixel Bus RGB32x1

Reads image pixels out of the specified FIFO and returns a Pixel Bus cluster of the requested type. The Pixel Bus contains the pixel data from the FIFO along with some additional flags that indicate when the pixel data is valid, an end of a line has been reached, or an end of the image has been reached. The Pixel Bus is used to pass image data to all of the other VIs in the NI Vision Development Module for FPGA library. Only one of the DV, EOL, and EOI flags in the Pixel Bus cluster will assert on a given clock cycle. When the last pixel of an image is reached, the Pixel Bus will contain the pixel data and the DV flag will be TRUE and the EOL and EOI flags will be FALSE. The next clock cycle, the EOL flag will be TRUE and the DV and EOI flags will be FALSE. The following clock cycle, the EOI flag will be TRUE and the DV and EOL flags will be FALSE.

IMAQ FPGA FIFO to Pixel Bus RGB32x1

cio.gif

Source Image FIFO refers to the FIFO that contains the image pixels to process. This FIFO can be any type of FIFO supported by LabVIEW FPGA, but typically this will refer to a DMA FIFO that is transferring image pixels from the host processor to the target FPGA.

cnclst.gif

Image Size specifies the image width and height in pixels. These values are used to determine when to assert the EOL and EOI flags in the Pixel Bus Out cluster. If either the Width or Height value is 0, the Output Valid terminal returns FALSE during that cycle. If this VI will be used with a Host to Target DMA FIFO, creating a front panel control for this input on the top-level FPGA VI will allow the IMAQ FPGA Configure Image Transfer to Target VI on the host to set this value.

cu32.gif

Width is the width of the image in pixels.

cu32.gif

Height is the height of the image in pixels.

cbool.gif

Ready For Output specifies whether downstream nodes are ready for this node to return a new value. The default is TRUE. Use a Feedback Node to wire the Ready for Input output of a downstream node to this input of the current node.

Note  If this terminal is FALSE during a given cycle, the output valid terminal returns FALSE during that cycle.
icclst.gif

Pixel Bus Out when Input Valid is TRUE, contains one of the following: valid pixel data, an end of line signal, or an end of image signal.

inclst.gif

Pixel Data is the value of the pixel.

iu8.gif

A is the value of the alpha plane.

iu8.gif

R/H is the red or hue value of the first color plane, depending on the color mode.

iu8.gif

G/S is the green or saturation value of the second color plane, depending on the color mode.

iu8.gif

B/L is the blue or luminance value of the third color plane, depending on the color mode.

ibool.gif

DV Data valid. Determines whether the Pixel Data element should be use (TRUE) or ignored (FALSE).

ibool.gif

EOL End of line. When TRUE, indicates that the end of the line has been reached.

ibool.gif

EOI End of image. When TRUE, indicates that the end of the image has been reached.

ienum.gif

Data Type is used in the block diagram for determining the type of the Pixel Bus. Unused during processing and gets optimized out of the compiled bit stream.

inclst.gif

Source FIFO Status returns the status of the FIFO designated by the Source Image FIFO input. If this VI will be used with a Host to Target DMA FIFO, creating a front panel indicator for this output on the top-level FPGA VI will allow the IMAQ FPGA Wait for Image Transfer Complete VI on the host to get this value in order to determine when the FIFO is empty.

iu32.gif

Number of Elements to Read is the current depth of the FIFO. When this value reaches 0, the FIFO is empty.

ibool.gif

Output Valid returns TRUE if this node has computed a result that downstream nodes can use. Wire this output to the Input Valid input of a downstream node to transfer data from the node to the downstream node.

IMAQ FPGA FIFO to Pixel Bus RGB32x8

Reads image pixels out of the specified FIFO and returns a Pixel Bus cluster of the requested type. The Pixel Bus contains the pixel data from the FIFO along with some additional flags that indicate when the pixel data is valid, an end of a line has been reached, or an end of the image has been reached. The Pixel Bus is used to pass image data to all of the other VIs in the NI Vision Development Module for FPGA library. Only one of the DV, EOL, and EOI flags in the Pixel Bus cluster will assert on a given clock cycle. When the last pixel of an image is reached, the Pixel Bus will contain the pixel data and the DV flag will be TRUE and the EOL and EOI flags will be FALSE. The next clock cycle, the EOL flag will be TRUE and the DV and EOI flags will be FALSE. The following clock cycle, the EOI flag will be TRUE and the DV and EOL flags will be FALSE.

IMAQ FPGA FIFO to Pixel Bus RGB32x8

cio.gif

Source Image FIFO refers to the FIFO that contains the image pixels to process. This FIFO can be any type of FIFO supported by LabVIEW FPGA, but typically this will refer to a DMA FIFO that is transferring image pixels from the host processor to the target FPGA.

cnclst.gif

Image Size specifies the image width and height in pixels. These values are used to determine when to assert the EOL and EOI flags in the Pixel Bus Out cluster. If either the Width or Height value is 0, the Output Valid terminal returns FALSE during that cycle. If this VI will be used with a Host to Target DMA FIFO, creating a front panel control for this input on the top-level FPGA VI will allow the IMAQ FPGA Configure Image Transfer to Target VI on the host to set this value.

cu32.gif

Width is the width of the image in pixels.

cu32.gif

Height is the height of the image in pixels.

cbool.gif

Ready For Output specifies whether downstream nodes are ready for this node to return a new value. The default is TRUE. Use a Feedback Node to wire the Ready for Input output of a downstream node to this input of the current node.

Note  If this terminal is FALSE during a given cycle, the output valid terminal returns FALSE during that cycle.
icclst.gif

Pixel Bus Out when Input Valid is TRUE, contains one of the following: valid pixel data, an end of line signal, or an end of image signal.

inclst.gif

Pixel Data is the value of the pixel.

iu8.gif

A is the value of the alpha plane.

iu8.gif

R/H is the red or hue value of the first color plane, depending on the color mode.

iu8.gif

G/S is the green or saturation value of the second color plane, depending on the color mode.

iu8.gif

B/L is the blue or luminance value of the third color plane, depending on the color mode.

ibool.gif

DV Data valid. Determines whether the Pixel Data element should be use (TRUE) or ignored (FALSE).

ibool.gif

EOL End of line. When TRUE, indicates that the end of the line has been reached.

ibool.gif

EOI End of image. When TRUE, indicates that the end of the image has been reached.

ienum.gif

Data Type is used in the block diagram for determining the type of the Pixel Bus. Unused during processing and gets optimized out of the compiled bit stream.

inclst.gif

Source FIFO Status returns the status of the FIFO designated by the Source Image FIFO input. If this VI will be used with a Host to Target DMA FIFO, creating a front panel indicator for this output on the top-level FPGA VI will allow the IMAQ FPGA Wait for Image Transfer Complete VI on the host to get this value in order to determine when the FIFO is empty.

iu32.gif

Number of Elements to Read is the current depth of the FIFO. When this value reaches 0, the FIFO is empty.

ibool.gif

Output Valid returns TRUE if this node has computed a result that downstream nodes can use. Wire this output to the Input Valid input of a downstream node to transfer data from the node to the downstream node.

IMAQ FPGA FIFO to Pixel Bus HSL32x1

Reads image pixels out of the specified FIFO and returns a Pixel Bus cluster of the requested type. The Pixel Bus contains the pixel data from the FIFO along with some additional flags that indicate when the pixel data is valid, an end of a line has been reached, or an end of the image has been reached. The Pixel Bus is used to pass image data to all of the other VIs in the NI Vision Development Module for FPGA library. Only one of the DV, EOL, and EOI flags in the Pixel Bus cluster will assert on a given clock cycle. When the last pixel of an image is reached, the Pixel Bus will contain the pixel data and the DV flag will be TRUE and the EOL and EOI flags will be FALSE. The next clock cycle, the EOL flag will be TRUE and the DV and EOI flags will be FALSE. The following clock cycle, the EOI flag will be TRUE and the DV and EOL flags will be FALSE.

IMAQ FPGA FIFO to Pixel Bus HSL32x1

cio.gif

Source Image FIFO refers to the FIFO that contains the image pixels to process. This FIFO can be any type of FIFO supported by LabVIEW FPGA, but typically this will refer to a DMA FIFO that is transferring image pixels from the host processor to the target FPGA.

cnclst.gif

Image Size specifies the image width and height in pixels. These values are used to determine when to assert the EOL and EOI flags in the Pixel Bus Out cluster. If either the Width or Height value is 0, the Output Valid terminal returns FALSE during that cycle. If this VI will be used with a Host to Target DMA FIFO, creating a front panel control for this input on the top-level FPGA VI will allow the IMAQ FPGA Configure Image Transfer to Target VI on the host to set this value.

cu32.gif

Width is the width of the image in pixels.

cu32.gif

Height is the height of the image in pixels.

cbool.gif

Ready For Output specifies whether downstream nodes are ready for this node to return a new value. The default is TRUE. Use a Feedback Node to wire the Ready for Input output of a downstream node to this input of the current node.

Note  If this terminal is FALSE during a given cycle, the output valid terminal returns FALSE during that cycle.
icclst.gif

Pixel Bus Out when Input Valid is TRUE, contains one of the following: valid pixel data, an end of line signal, or an end of image signal.

inclst.gif

Pixel Data is the value of the pixel.

iu8.gif

A is the value of the alpha plane.

iu8.gif

R/H is the red or hue value of the first color plane, depending on the color mode.

iu8.gif

G/S is the green or saturation value of the second color plane, depending on the color mode.

iu8.gif

B/L is the blue or luminance value of the third color plane, depending on the color mode.

ibool.gif

DV Data valid. Determines whether the Pixel Data element should be use (TRUE) or ignored (FALSE).

ibool.gif

EOL End of line. When TRUE, indicates that the end of the line has been reached.

ibool.gif

EOI End of image. When TRUE, indicates that the end of the image has been reached.

ienum.gif

Data Type is used in the block diagram for determining the type of the Pixel Bus. Unused during processing and gets optimized out of the compiled bit stream.

inclst.gif

Source FIFO Status returns the status of the FIFO designated by the Source Image FIFO input. If this VI will be used with a Host to Target DMA FIFO, creating a front panel indicator for this output on the top-level FPGA VI will allow the IMAQ FPGA Wait for Image Transfer Complete VI on the host to get this value in order to determine when the FIFO is empty.

iu32.gif

Number of Elements to Read is the current depth of the FIFO. When this value reaches 0, the FIFO is empty.

ibool.gif

Output Valid returns TRUE if this node has computed a result that downstream nodes can use. Wire this output to the Input Valid input of a downstream node to transfer data from the node to the downstream node.

IMAQ FPGA FIFO to Pixel Bus HSL32x8

Reads image pixels out of the specified FIFO and returns a Pixel Bus cluster of the requested type. The Pixel Bus contains the pixel data from the FIFO along with some additional flags that indicate when the pixel data is valid, an end of a line has been reached, or an end of the image has been reached. The Pixel Bus is used to pass image data to all of the other VIs in the NI Vision Development Module for FPGA library. Only one of the DV, EOL, and EOI flags in the Pixel Bus cluster will assert on a given clock cycle. When the last pixel of an image is reached, the Pixel Bus will contain the pixel data and the DV flag will be TRUE and the EOL and EOI flags will be FALSE. The next clock cycle, the EOL flag will be TRUE and the DV and EOI flags will be FALSE. The following clock cycle, the EOI flag will be TRUE and the DV and EOL flags will be FALSE.

IMAQ FPGA FIFO to Pixel Bus HSL32x8

cio.gif

Source Image FIFO refers to the FIFO that contains the image pixels to process. This FIFO can be any type of FIFO supported by LabVIEW FPGA, but typically this will refer to a DMA FIFO that is transferring image pixels from the host processor to the target FPGA.

cnclst.gif

Image Size specifies the image width and height in pixels. These values are used to determine when to assert the EOL and EOI flags in the Pixel Bus Out cluster. If either the Width or Height value is 0, the Output Valid terminal returns FALSE during that cycle. If this VI will be used with a Host to Target DMA FIFO, creating a front panel control for this input on the top-level FPGA VI will allow the IMAQ FPGA Configure Image Transfer to Target VI on the host to set this value.

cu32.gif

Width is the width of the image in pixels.

cu32.gif

Height is the height of the image in pixels.

cbool.gif

Ready For Output specifies whether downstream nodes are ready for this node to return a new value. The default is TRUE. Use a Feedback Node to wire the Ready for Input output of a downstream node to this input of the current node.

Note  If this terminal is FALSE during a given cycle, the output valid terminal returns FALSE during that cycle.
icclst.gif

Pixel Bus Out when Input Valid is TRUE, contains one of the following: valid pixel data, an end of line signal, or an end of image signal.

inclst.gif

Pixel Data is the value of the pixel.

iu8.gif

A is the value of the alpha plane.

iu8.gif

R/H is the red or hue value of the first color plane, depending on the color mode.

iu8.gif

G/S is the green or saturation value of the second color plane, depending on the color mode.

iu8.gif

B/L is the blue or luminance value of the third color plane, depending on the color mode.

ibool.gif

DV Data valid. Determines whether the Pixel Data element should be use (TRUE) or ignored (FALSE).

ibool.gif

EOL End of line. When TRUE, indicates that the end of the line has been reached.

ibool.gif

EOI End of image. When TRUE, indicates that the end of the image has been reached.

ienum.gif

Data Type is used in the block diagram for determining the type of the Pixel Bus. Unused during processing and gets optimized out of the compiled bit stream.

inclst.gif

Source FIFO Status returns the status of the FIFO designated by the Source Image FIFO input. If this VI will be used with a Host to Target DMA FIFO, creating a front panel indicator for this output on the top-level FPGA VI will allow the IMAQ FPGA Wait for Image Transfer Complete VI on the host to get this value in order to determine when the FIFO is empty.

iu32.gif

Number of Elements to Read is the current depth of the FIFO. When this value reaches 0, the FIFO is empty.

ibool.gif

Output Valid returns TRUE if this node has computed a result that downstream nodes can use. Wire this output to the Input Valid input of a downstream node to transfer data from the node to the downstream node.

Log in to get a better experience