rdube02

Getting SPC Chart Time Range

Discussion created by rdube02 Champion on Nov 8, 2012
Latest reply on Nov 9, 2012 by dhollebeek

Hi Everyone,

 

This seems like it should be ridiculously easy, but I can't seem to figure out how to do it.

 

I have an SPC chart using the ProcessBook SPC plugin, and the chart auto-calculates start/end times based on the sample settings in the chart. Once the charts are up and displaying, I would like to display the plot range values by showing the max/min date/times from the x-axis.

 

I can find how to do a "SetPlotTime" on the SPC, and I've even found a "GetPlotTime", which I think might work, but I can't seem to get the syntax of the method right, and there's no PI documentation anywhere that shows an example of how to use that method.

 

Does anyone have any example of how to use the GetPlotTime method correctly? I'm trying to do this in ProcessBook VBA btw.

 

Thanks for any insight you can offer.

 

-Ryan

Outcomes