07-20-2017 09:57 AM
Hello All,
Is there a way to set a lead curve in DIAdem report? So that if I pan, zoom in, or zoom out (on the x-scale of a 2D axis), the "following curves" will automatically adjust? I know this can be done in view, not sure how to implement in report...
Thank you in advance.
-Must
07-21-2017 11:45 AM
Hello Must,
I think I know what you're talking about be let me know if I'm confusing what you're asking for as the help defines what you are talking about a little differently.
Setting the Leading Curve - http://zone.ni.com/reference/en-XX/help/370858M-01/procview/procview/procview_setting_leadingcurve/
In short I don't think that REPORT supports dynamically regenerating. A good workaround might be to set this up in VIEW and then once you have it exactly like you like it then export to REPORT.
Otherwise if you need more functionality you could potentially script something or record your actions going from VIEW to REPORT so you can map that to a function key.
Hope that helps!
07-26-2017 03:33 AM
Hi,
You can create a simple report layout with two 2DAxisSystems.
After changing the first axis range run this script:
Dim oRefAxis, oSecAxis if Report.ActiveSheet.Objects.Exists("2DAxis1") and Report.ActiveSheet.Objects.Exists("2DAxis2") then set oRefAxis = Report.ActiveSheet.Objects("2DAxis1").XAxis set oSecAxis = Report.ActiveSheet.Objects("2DAxis2").XAxis oSecAxis.Scaling.AutoScalingType = eAxisAutoScalingBeginEndManual oSecAxis.Scaling.Begin = oRefAxis.Scaling.Begin oSecAxis.Scaling.End = oRefAxis.Scaling.End call Report.Refresh() end if
You can configure the script to run when pressing an F button. Use the report script function group for that. Then its just one click to adapt the secondary axis range to the leading axis range.