Example Code

LabVIEW - Write Excel Equations & Reference within Template

Code and Documents

Attachment

Overview
This example VI shows a way to write equations to a "Data" sheet on your Excel workbook.

 


Description
This VI will write equations to a "Data" sheet on your Excel workbook. It can then reference these cells for anything else within the workbook - in this example the cells update a chart. However they could be used for further analysis, macros, or anything else if it is required.

 


Requirements

  • LabVIEW 2012 (or compatible)
  • Report Generation Toolkit for Microsoft Office 2012 (or compatible)


Steps to Implement or Execute Code

  1. Download the attached folder to your computer
  2. Open the VI "Write Excel Equations and Reference Withub Template 2012 NIVerified.vi"
  3. Run the VI

 

Additional Information or References
VI Snippet

 Block Diagram.PNG

 

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


Regards,

Peter D

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