cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
Valerio
Level II

Spec Limits as Variable

Good afternoon.

 

I am trying to specify Spec Limits as a Variable and for some reason it does not work.

 

Please see below working code with explicit spec values =>

Data_Table_1:Column_with_Spec << Set Property( "Spec Limits", {LSL( 1 ), USL( 2 ), Show Limits( 1 )} );

Please see below not-working code with spec values as variables =>

LSL_var = 1;
USL_var = 2;
Data_Table_1:Column_with_Spec << Set Property( "Spec Limits", {LSL( LSL_var ), USL( USL_var ), Show Limits( 1 )} );

(If I use the variables "LSL_var" and "USL_var" in an "If" condition in a Formula they work.)

 

Why is this not working?

Thanks.

1 ACCEPTED SOLUTION
1 REPLY 1