LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the easiest way to print the image in an IMAQ window ?


0 Kudos
Message 1 of 6
(3,381 Views)
Hi Mino,

the easiest way is converting the image into a LV picture that can be easily printed since it's an indicator (use a dummy vi where you display the picture and set vi property to print panel when finishing execution...).
I attach a core vi that converts a 8-bit image into a LV picture.

Let me know if you need more help.

Good luck,

Alberto
Message 2 of 6
(3,381 Views)
Hi Mino,

the easiest way is converting the image into a LV picture that can be easily printed since it's an indicator (use a dummy vi where you display the picture and set vi property to print panel when finishing execution...).
I attach a core vi that converts a 8-bit image into a LV picture.

Let me know if you need more help.

Good luck,

Alberto
0 Kudos
Message 3 of 6
(3,382 Views)
Hello Alberto,

I recently started and new Vision project and found your thread and the .vi you included.

When I open the .vi in LV 7.1, I get a broken wire from the Image cluster to the Image to Array.vi

I believe I am unsure how to import my image, or reference to it so that it can be printed using this .vi

Could you give me an example of how I would reference to a saved picture?

Thanks very much.
---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 4 of 6
(3,292 Views)
Hello pallen,

Thank you for using our discussion forums. The reason you see the broken wire is because the image data type was changed with the recent versions of IMAQ and LabVIEW. Previously the image data was stored as a cluster of two elements which is what you see in the attached VI. Please visit the following KnowledgeBase for more information on fixing this problem:

Upgrading IMAQ with LabVIEW FAQ

I hope this helps you out. Please let me know if you have any further questions.

Regards,
Nipun M
Applications Engineer
National Instruments
Message 5 of 6
(3,281 Views)
Thanks.

The utility worked just fine.
---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 6 of 6
(3,277 Views)