09-08-2008 02:16 AM
Hi there,
I need some help ...I want to make an EXCEL report using report generation toolkit.I need to insert graph (pressure vs time) in the report. Can I set the x-axis scale? I have try Set Graph Scale.vi. It is only allowed me to set the y-axis scale...pls help...thanks
09-08-2008 07:43 AM
Yes you can set the x-axis scale.
Place another Set Graph Scale.vi on the block diagram and instead of selecting xlValue select xlCategory.
09-08-2008 09:18 PM
09-09-2008 08:08 AM
I tried changing your graph type from xlLine to xlXYScatterLines but I still get the same error.
Error -2146827284 occurred at Exception occured in Microsoft Excel: OLEObjects method of Worksheet class failedHelp Path is C:\Program Files\Microsoft Office\Office10\1033\xlmain10.chm and context 0 in NI_ReportGenerationToolkit.lvlib:Excel_Set_Chart_Colors.vi->NI_Excel.lvclass:Excel Set Graph Colors.vi->graph%20report[1].vi
This error code is undefined. No one has provided a description for this code, or you might have wired a number that is not an error code to the error code input.
It took me a while to become efficient at using report generation toolkit especially the graph functions.
I have attached one of my routines that sets the scale of the x and y axis.
09-10-2008 11:22 AM
09-10-2008 07:37 PM
Hi Brian,
I cannot open your vi.Can you save it as ver8.2 please..... thanks
09-11-2008 07:23 AM
Here you go.