08-12-2009 09:39 AM
I have a problem with creating a pie chart using ActiveX that seems to be related to the range. When I give it a source of 8 cells (source 1) the pie chart works fine (Right Pie). If I give it 9 cells (source 2) the pie chart data has 9 series instead of the 1 it should have (Wrong Pie). If I go into Excel I can correct it manually. I have been using this sub VI for a while with no problems but always with fewer than 8 cells.
I am using Excel 2007 version 12.
08-13-2009
12:49 PM
- last edited on
05-06-2025
12:47 PM
by
Content Cleaner
bfeddeck-
Creating Pie Charts is a new feature in LabVIEW 2009. They are relatively simple to use and you wouldn’t have to worry about the ActiveX protocols sending data to Excel. Please take a look at the LabVIEW Help on Types of Graphs and Charts.
08-13-2009 02:06 PM
08-14-2009
10:15 AM
- last edited on
05-06-2025
12:48 PM
by
Content Cleaner
bfeddeck-
After a little searching, I found a few links that may be helpful for you. Please take a look.
KnowledgeBase Article: Using National Instruments Software to Control Microsoft Excel with ActiveX
NI Developer Zone: Integrating Microsoft Excel with National Instruments Software
08-14-2009 11:16 AM
08-17-2009 04:08 PM
08-18-2009 03:53 PM
08-19-2009 04:04 PM
Hi bfeddeck,
I'm slightly confused about which range you are referring to? Is it one of the input to the subVI or is it one of the parameters within the subVI?
08-20-2009 09:56 AM
08-21-2009 03:27 PM
Hi bfeddeck,
You might want to take a look at the Range properties of the Excel._Worksheet class here. All LabVIEW does is communicate with the class and passes parameters to and from it. Detailed help about the method can be found on Microsoft's site.