03-19-2018 10:53 AM
Hi CVI/LabWindows Forum,
I am having an issue with a program I am currently working on.
I am using CVI/LabWindows 2015 on Windows 7.
In my code I am using excelrpt to create excel files, write data to them, and create graphs. I have all that working, mostly (sometimes my graphs dont get their titles populated), but I have had an issue recently where my data did not save. I suspect that this is because the code was started and stopped prematurely and excel my code was not able to properly discard my handles. Is there a way to check the task manager for any instances of excel and close them all before continuing?
As a separate issue but might as well add it here...
Any ideas as to why my graph titles are not populating?
And is there a way to set the x-axis data range(I am not using ExcelRpt_ChartWizard because I was having issues with it)?
03-20-2018 04:32 PM
Hi
Only for double check, did you use this tutorial: Generating Microsoft Excel Reports with LabWindows/CVI
03-23-2018 07:44 AM
Yes, I did use that link as a reference.
03-26-2018 05:23 PM
Hi, Did you create your code from scratch? or did you modify one of the examples that are shipped?
One good example is call exelreportdemo.cws, if you go to help, find examples and type excel you would see a list of examples.
So it would be good to compare how you calling everything and how they doing it on the example.
04-06-2018 08:58 AM
I did write my code from scratch. I will look at that demo.
04-06-2018 09:10 AM
I dont see which part of this demo is referring to my question.
04-09-2018 04:45 PM
Hi, the idea was to double check the code and see how the X-axis is generated.
I was checking this other post, they are using column E as the X-axis values.