11-26-2013
03:51 PM
- last edited on
04-05-2024
10:54 AM
by
Content Cleaner
Hello,
I am trying to get an array of data into excel and graph it (using excel) through LabVIEW. I have found this resource: http://www.ni.com/newsletter/51339/en/ It is the second to last method. However I do not think I have the excel specific VIs. Is there an easy way to get that palette, or if not is there an alternative method to do what I want to do?
11-26-2013
04:02 PM
- last edited on
04-05-2024
10:55 AM
by
Content Cleaner
An easy way to get the functions is to purchase the toolkit. The last method shown on the page you linked is what is happening under the hood of the toolkit. The code is provided in the form of a snippet. Have you tried it?
11-26-2013 04:52 PM - edited 11-26-2013 04:54 PM
I am not familiar with the different bundles and packages of LabVIEW. Having said that, access your quick-drop function (ctrl+space bar) on the block diagram and type in "ActiveX". I only took a peek, but I believe many of the items I saw on the resource you linked is available as an ActiveX property or invoke node (ApplicationClass, workbook, sheet, cell, etc). If nothing comes up through your quick-drop, then I guess that means your LV doesn't come with it?
I can finally answer a question semi-properly. Cheers! I had fun recently messing around with the ActiveX stuff to manipulate Excel VBA's.
-Mitch
11-27-2013 01:01 PM
I, too, used the ActiveX VIs in an application to invoke Excel macros that imported tab-delimited files into spreadsheet templates and then updated various pivot charts. It took a little patience to "reverse engineer" the examples linked in the help, but I got it to work. It requires that you have a working VBA script, so the work is not just in the LabVIEW program.
Delivers a satisfying final presentation of data acquired by a LabVIEW application that allows for further manipulation in Excel, as required. Also allows for easy transfer of graphs & tables to Word documents.
Jeff Zola
@fumobs wrote:
I am not familiar with the different bundles and packages of LabVIEW. Having said that, access your quick-drop function (ctrl+space bar) on the block diagram and type in "ActiveX". I only took a peek, but I believe many of the items I saw on the resource you linked is available as an ActiveX property or invoke node (ApplicationClass, workbook, sheet, cell, etc). If nothing comes up through your quick-drop, then I guess that means your LV doesn't come with it?
I can finally answer a question semi-properly. Cheers! I had fun recently messing around with the ActiveX stuff to manipulate Excel VBA's.
-Mitch