11-13-2003 04:08 PM
11-14-2003
01:42 PM
- last edited on
07-08-2026
08:19 AM
by
Content Cleaner
Do you get any errors?
Some of your property and invoke nodes are not wired, so first make sure you are tracking all the errors. This may give you a clue why the scale is not set.
When I run your VI ( I had to replace your SubVI with Open New Worksheet.vi) I get this activex error -2147352573 from the Axis.MaximumScale property. I saw this error with the report generation VIs, and the following link has the fix:
Error "-2147352573 Member not found in the xxx.vi" with NI Reports VIs in LabVIEW 6.0 [link removed; article no longer available]
This may not be a solution to your problem. In your VI, you are trying to get a reference to Axis object from Chart.Axes output. This will
not work. You should first use Excel.Axes reference wired to Variant to Data function. Then wire the output reference to Axes method Item. Wire xlCategory or xlSeriesAxis to the Type input. Then wire the Item output reference to your Variant to Data that has Excel.Axis reference wired to it.
I've attached modified VI that first uses Axes method to get the reference to Axis.
Zvezdana S.
11-16-2003 10:14 PM
11-17-2003 12:10 PM
11-17-2003 05:39 PM
11-18-2003 07:23 AM