cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
ValeriaL
Level II

passing a variable in the Set Property fore a column

Hi all,

 

can somebody explain how I can pass a variable into, for example, spec limits?

I want the spec limit for the column "dt:frac" to be "uls_value"

So I define the  value:

usl_value=0.05;

 

and then I tried:

 

 

dt:frac <<Set Property( "Spec Limits", {USL(eval(usl_value)), Show Limits( 1 )} );
dt:frac <<Set Property( "Spec Limits", {USL(expr(usl_value)), Show Limits( 1 )} );
dt:frac <<Set Property( "Spec Limits", {USL(usl_value), Show Limits( 1 )} );They are all scriptable but none does the trick.

 

Thanks

1 REPLY 1
ErraticAttack
Level VI

Re: passing a variable in the Set Property fore a column

In JSL lists are unevaluated, so anything within a list that you want evaluated you'll need to wrap in an Eval( Eval Expr( ... ) ) function, such as this:

Eval( Eval Expr(
	dt:frac << Set Property( "Spec Limits", {USL( Expr( usl_value ) ), Show Limits( 1 )} )
) )
Jordan

Recommended Articles