How to export data directly from a C#/VB.NET program to Excel.


Attached to this article are examples showing how to export data directly to Excel from a C# (CSharp) or VB.NET application.

They demonstrate the following:

  • Discover the device without having to use InstaCal.
  • Open Excel and create a worksheet.
  • Read a voltage value and write it to a cell.
  • Close Excel when the program terminates.

Requirements:  InstaCal 6.51 or greater must be installed and you have to have a Measurement Computing device. InstaCal can be found on our MCC DAQ CD image which is located on the following web page: http://www.mccdaq.com/software.aspx


Posted 8/29/2016 9:06:31 AM by Jeff
https://kb.mccdaq.com/KnowledgebaseArticle50613.aspx