Hi All,
I'm currently working on a report generation for my project(Amplifier Testing). I want to plot multiple channels in a single plot in a Diadem Report by vb scripting. ie, I have actual voltage channel data, Upper tolerance, lower tolerance etc. I want all these channels to be plotted in a single graph in Diadem Report. I have used below statements.
Set oMy2DCurve1 = oMy2DaxisSystem.Curves2D.Add(e2DShapeLine, "MyNew2DCurve")
oMy2DCurve1.Shape.XChannel.Reference = "[1]/[30]"
oMy2DCurve1.Shape.YChannel.Reference = "[1]/[11]"
In VIEW tab, I'm able to do this by repeating below statements.
Set oMyChart = View.ActiveSheet.ActiveArea.DisplayObj
Set oMyCurve = oMyChart.Curves2D.Add("[1]/[28]","[1]/[13]")
Set oMyCurve = oMyChart.Curves2D.Add("[1]/[28]","[1]/[15]")
Set oMyCurve = oMyChart.Curves2D.Add("[1]/[28]","[1]/[17]")
I believe, we can add only one Y channel reference in Graph in Diadem Report. Is there any workaround for this?