Example Code

Import Graph into Imaq Image Display

Code and Documents

Attachment

Overview

The example demonstrates how to copy the image of a waveform graph to an IMAQ image.

 

Description

The example transfers the image of a waveform graph into an IMAQ image data type and then displays it with the IMAQ image display.  Once the image of a waveform graph is converted to the IMAQ data type all of the same image processing tools can be used.  This can be used to overlay information onto the graph or perform some sort of processing.

 

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

  1. Open the attached file
  2. Run the VI 

 

Additional Information or References

Export Graph to IMAQ Image - Front Panel.png

 

Export Graph to IMAQ Image - Block Diagram.png

 

 

**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.**

Justin D.

Applications Engineer
National Instruments

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

Comments
TiTou
Trusted Enthusiast
Trusted Enthusiast
on

When I run the 2010 version and try to edit the Graph's Y.scale (while it's running) I get a LabVIEW crash.

I have VDM 2010 (lattest version I believe).

Do you get this too?


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Wonger
NI Employee (retired)
on

There appears to be a bug in LV regarding running ExportImage on a control while simultaneously making a text edit on the control. I have a CAR (ID 300937) on the issue and will be looking into it.

-Wonger

marwa123
Member
Member
on

IMAQ Create not found !!!!

How can I solve this problem ?????