I want to make different control charts based on different columns of data, where the column name are numbers based on an SPC chart numbering system.
For example if I want a control chart based on column "45038", this works fine
chartnum = 45038;
ct1 = Control Chart(
Sample Label( :lot ),
KSigma( 3 ),
GetLimits(\limits.jmp" ),
Chart Col(
:"45038",
XBar( Limits Precision( 0 ) ),
R( Limits Precision( 0 ))
)
);
I can replace :"45038" with name("45038"). But I get a syntax error if I replace it with name (chartnum) or name(char(chartnum))
Any ideas?