Overview
The example demonstrates how to transmit an image by flattening the image to a data string.
Description
Most data transfer mechanisms only accept byte arrays or strings as an input. To transmit IMAQ images the image has to be first converted to a string and then after receiving the image converted back to the IMAQ image data type.
To accomplish that, the IMAQ palette features the 'IMAQ Flatten Image to String' function to generate a data string from the IMAQ image. To convert the data string back to an IMAQ image the 'Unflatten from String' function from the Data Manipulation Palette is used.
Requirements
Software
- LabVIEW 2012 Base Development System (or compatible)
- Vision Development Module 2012 (or compatible)
Hardware
- No hardware is necessary to use this example VI
Steps to Implement or Execute Code
- Run the VI
Additional Information or References
**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text 'NIVerified'. Read here for more information about the new Example Guidelines and Community Platform.**