turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Discussions
- :
- Control Chart Scripting Question

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Feb 18, 2014 9:34 AM
(3083 views)

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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

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

2 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Thank you!