Skip navigation

Community

Currently Being Moderated

Insert Image in Microsoft Word Table Using LabVIEW

VERSION 1 
Created on: Sep 6, 2011 8:43 AM by Austin_S - Last Modified:  Sep 6, 2011 9:04 AM by Austin_S

Introduction:

 

Using the LabVIEW Report Generation Toolkit, we can add a table into a new Microsoft Word document by using the New Report VI and the Append Table to Report VI.  However, this appears to only allow a user to enter text into the created table cells.  If a user wants to insert an image into one of these cells instead, there is a way to do this using the Word Edit Cell VI and using a File Path Control to specify the path of a saved image.

 

 

Instructions:

 

1. Save the image you want to insert into a Word table cell as a .jpeg, .bmp, .png, .gif, or .tif file.

2. Select this file path using the File Path Control on the VI front panel.

3. Run the VI.

 

To adjust which cell into the table is being inserted, edit the Start (0,0) terminal of the Word Edit Cell VI to change the desired row and column for the image.

 


Software:

 

LabVIEW 2010 SP1

LabVIEW Report Generation Toolkit

InsertImageToTable.png

Attachments:
Comments (0)