Hi
I am looping on the Variability Chart to analyze different parameters, each represented by a column. The column names are stored in a list. Here is the code snippet
tetser = {a list of 100 column names in string format};
For( i = 1, i <= 100 , i++,
Variability Chart(
Y( tester[i]),
Model( "Crossed" ),
X( :Operators, :Parts ),
Analysis Type( "Choose best analysis (EMS REML or Bayesian)" ),
Variability Analysis(
tester[i], /* PROBLEM HAPPENS ON THIS LINE*/
MSA Metadata( tester[i] ( Lower Tolerance( LTU[i] ), Upper Tolerance( UTU[i] ), Tolerance Range( UTU[i]-LTU[i] ) ) ),
Gauge RR( 6 ),
"Gauge R&R Report"n( 1 )
)
);
The problem is: when I run the code I get this error which is because I am using tetser[i] as the column name inside the Variability Analysis(...) function. If I change it to the column name's string (instead of referencing it by indexing) it works fine. I am showing the line where I believe the error occurs there in the code above. Could you help me with the solution or direct me to the Help file?