几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   PC-DMIS二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=153)
-   -   SPCChartAreaCtrl1 ActiveX component (http://www.dimcax.com/hust/showthread.php?t=1575)

huangyhg 2007-11-26 11:39 AM

SPCChartAreaCtrl1 ActiveX component
 
I don't have any code to show for this yet, but I have been playing around a bit with this activex component made by Wilcox. There seems to be very little info on this component. It doesn't seem to be the same chart object used in Hyper-view.

I've loaded it up into a VB.net Form and played around with it. It has some built in Demo data so you can get some idea of what it can do. So before I fool with it anymore I have two questions.

1. Is this a release specific object, in other words, is it going to disappear in a future release of PCDMIS?

2. Is there any documentation on this object?
kneislyd

huangyhg 2007-11-26 11:39 AM

回复: SPCChartAreaCtrl1 ActiveX component
 
Don't know. I just opened the one in my 3.7 folder and it is version 1.0. My 3.2 and 3.5 folders do not have this .ocx.
craiger_ny

huangyhg 2007-11-26 11:40 AM

回复: SPCChartAreaCtrl1 ActiveX component
 
No documentation. Used internally by the CNC controls. Should look similar to Datapage/Dataview charts.
SABarber

huangyhg 2007-11-26 11:40 AM

回复: SPCChartAreaCtrl1 ActiveX component
 
I'm thinking maybe it unloaded from my DataPage install. The 'About' property says its from Wilcox.
kneislyd
Looks a lot like Datapage. On my PC though it is in the PCDMIS folder and I have not installed Datapage. I thought it had something to do with it when I looked at it after you mentioned it. What have you done with it so far?
craiger_ny

It does, It has a property that will switch between the Datapage look and Dataview look.
kneislyd

Well, so far I've been able to reference it from within a VB.net 2005 project. Created some radio buttons that when pressed cause the chart to switch between the various chart types (run time, histogram etc). Added a button that when pressed causes the 'About' window of the control to pop-up. So basically I know I can interact with it.

Based on what I see in the Object browser I ought to be able to pass measurement data into it and tell it to calculate standard deviation, cpk, ppk or whatever.

When I get a little further I'll report it here.
kneislyd


所有的时间均为北京时间。 现在的时间是 05:02 PM.