Subscribe Bookmark RSS Feed

Control Chart JMP Scripting

dozyme

Community Trekker

Joined:

Jul 8, 2011

I am attempting to write a script that will "automate" an SPC analysis.  Thus far I've been able to import the .csv file, make a preliminary selection of data to be included in the historical data set (HDS), applied the IR charting to the historical data set range, and saved the control limits in a separate JMP file (this last pat took forever to figure out).

Now I want to apply the saved HDS limits to our more recent data, but I can't figure out what argument to apply to the Control Chart command to get it to pull those limits.  I imagine it would look something like...

current data table(review.data);

cc.recovery = Control Chart(

Sample Label(:lotnum),

Group Size(1),

KSigma(3),

Chart Col(

  :recovery,

  Individual Measurement(

   Shade Zones(1),

   Test 1(1),

   Test 2(1),

   Test 3(1),

   Test 5(1),

   Test 6(1)

  ),

  Moving Range,

  Get Limits("Recovery HDS Limits.jmp")

),

SendToReport(

  Dispatch(

   {"Individual Measurement of recovery"},

   "IR Chart of IM",

   FrameBox,

   {Grid Line Order(6), Reference Line Order(7)}

  )

)

);

Any assistance would be most appreciated.

Daniel