- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
How to use Range Check () with Set Property()?
In JSL, the following works (in JMP 16.2)
Column( dt, myCol ) << set property("Spec Limits", {LSL( myLSL), USL(myUSL)});
However, I am trying to also use Range Check within set property following the scripting guide (for JMP 16)
Column( dt, myCol ) << set property("Spec Limits", {LSL( myLSL), USL( myUSL )}, "Range Check", LTLT (myLSL2, myUSL2) ));
where myLSL/myUSL & myLSL2/myUSL2 are supplied from above. This is not working (in JMP 16.2). Where am I going wrong?
My idea is to plot data points which are in the vicinity of the spec limits by supressing/ignoring outliers inspired by @txnelson.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How to use Range Check () with Set Property()?
Your script almost works. You'd just need to split in into two messages, because <<Set Property only handles one property at a time. Your syntax and @hogi's syntax for adding a Range Check are both correct.
Names Default to Here( 1 );
dt = Open("$SAMPLE_DATA/Big Class.jmp");
lsl1 = 13;
usl1 = 110;
lsl2 = 5;
usl2 = 117;
:weight << Set Property( "Spec Limit", {LSL( lsl1 ), USL( usl1 )} ) << Set Property( "Range Check", LTLT( lsl2, usl2 ) );
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How to use Range Check () with Set Property()?
The syntax for Range check is slightly different:
:height << set property("Spec Limits", {LSL( 10), USL( 20 )} ) << Range Check( LELE( 0, 100 ) );
The huge benefit of JSL compared to any other scripting language: there is the enhanced log
-> just use the GUI and let Jmp tell you the right syntax
so, no need to even Google for it ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How to use Range Check () with Set Property()?
Your script almost works. You'd just need to split in into two messages, because <<Set Property only handles one property at a time. Your syntax and @hogi's syntax for adding a Range Check are both correct.
Names Default to Here( 1 );
dt = Open("$SAMPLE_DATA/Big Class.jmp");
lsl1 = 13;
usl1 = 110;
lsl2 = 5;
usl2 = 117;
:weight << Set Property( "Spec Limit", {LSL( lsl1 ), USL( usl1 )} ) << Set Property( "Range Check", LTLT( lsl2, usl2 ) );