Hi, I want to draw a control chart to show violate test point with arround 10 measurement sets base on 10 sets of online control limit in another table. Can anyone tell me how to load the multiple control limit follow by measurement set name?

Below is my draft scriptting
Names Default To Here( 1 );
dt = Open(
"./MRK.jmp"
);
obj =
Control Chart(
Sample Size( :Sample ),
KSigma( 3 ),
Chart Col( :Weight ),
Chart Type( XBar )
By:(:Mesurement_Set_Name)
);
obj << Test 1( 1 );
dt2 = obj << SaveSummaries;
// Rule violations occur in dt2 in the column "Test Failures" as comma delimited text ("" if no violations)
dt2 << SelectWhere(:Test Failures != "");