Example Code

Convert JPEG String to LabVIEW Image

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview
This VI converts JPEG string to LabVIEW image.


Description
You can convert JPEG string to LabVIEW image. This is particularly useful if you wish to view the image of JPEG string on VI.


Requirements

  • LabVIEW Base Development System 2012 (or compatible)


Steps to Implement or Execute Code

  1. Unzip the attached folder to your computer
  2. Open the VI "DOTNET – JPEG String to LabVIEW Image 2012 NI Verified.vi"
  3. Enter JPEG string
  4. Run the program

 

Additional Information or References
In case you need JPEG string to check the functionality of this example, you can find example code on the same web page that loads user-specified JPEG file and converts LabVIEW image to JPEG string.

 

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.