11-14-2007 04:50 PM - edited 11-14-2007 04:50 PM
11-15-2007 01:15 PM
Hi krispiekream,
I looked on the Microsoft Developer Network website and located some methods that may help. I found these on the Axis Object Members page, where it looks like you can change the maximum and minimum scale values, as well as set autoscaling. I also ran across another forum post that shows how to get to these properties using ActiveX in LabVIEW.
Are you creating the Excel sheet in LabVIEW or just accessing it and changing values? There may be different ways to accomplish this depending upon what your application is actually doing. I hope this helps.
11-19-2007 04:07 PM
11-20-2007 12:16 PM - edited 11-20-2007 12:17 PM
You can access the x-scale min and max and the y-scale min and max using property nodes for the XY Graph. Locate the XY Graph on your block diagram, right-click and then go to Create » Property Node » X Scale » Range » Maximum to get the maximum value for the X scale you have set in LabVIEW. You can then expand this property node by clicking on the bottom of the property node and dragging down to create as many properties as you need and find the ones for minimum and the y-scale values (see below). You will then need to use ActiveX methods to scale the Excel sheet using the values from the XY Graph property node.
11-20-2007 12:23 PM - edited 11-20-2007 12:31 PM
11-21-2007 11:14 AM - edited 11-21-2007 11:15 AM
I am not sure how to specify which axis you are setting the values for, but hopefully this will get you started.
11-21-2007 11:35 AM
11-21-2007 12:04 PM