Choose Language Hide Translation Bar
jclough
Level I

Control Chart Scripting Question

I am new to scripting using JMP, but I am quite sure I'm missing something obvious here.

I am trying to script a control chart that plots points where the columns Wafer and Number equal "224" and C1, respectively. However I am trying to allow the user to define the wafer, though in this example I am just setting it to "224". The control chart does not generate, what am I doing wrong?

wafer2 = "224"

dt3 << Control Chart

(

  Sample Label( :Strata ),

  KSigma( 3 ),

  Chart Col( :Probe, XBar, R ),

  Where( :Wafer = wafer2 & :Number == "C1" ),

);

Producing the chart by hand creates this script when copied:

Control Chart(

  Sample Label( :Strata ),

  KSigma( 3 ),

  Chart Col( :Probe, XBar, R ),

  Where( :Wafer == "223" & :Number == "C1" )

)

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
mpb
Super User mpb
Super User

Re: Control Chart Scripting Question

Try   eval(wafer2)   in the where statement. (also you need 2 equal signs in the wafer condition).

View solution in original post

2 REPLIES 2
Highlighted
mpb
Super User mpb
Super User

Re: Control Chart Scripting Question

Try   eval(wafer2)   in the where statement. (also you need 2 equal signs in the wafer condition).

View solution in original post

Highlighted
jclough
Level I

Re: Control Chart Scripting Question

Thank you!

Article Labels

    There are no labels assigned to this post.