out of spec에 대한 표 요약안녕하십니까,
사양 제한이 속성으로 포함된 많은 열이 있는 테이블이 있습니다.
열당 사양을 벗어난 %의 테이블을 어떻게 만들 수 있습니까?
가능한 경우 테이블 요약(그룹 정의용)으로 옵션을 사용하고 새 열은 %OOS가 됩니다.
* 또는 3개 열: LSL 미만, USL 초과 및 총 외부(트리뷰션 플롯의 "장기 시그마" 테이블로)
미리 감사드립니다!
아사프
Re: out of spec에 대한 표 요약
안녕,
약간의 수정으로 잘 작동합니다
빠르고 큰 지원에 감사드립니다!
아사프
Col_names = 현재 데이터 테이블() << 열 이름 가져오기();
Num_of_cols = N 항목( Col_names );
열이 있는 LimList = {};
For( i = 1, i <= Num_of_cols, i++,
Spec_Lims = 열 ( Char( Col_Names[i])) << 속성 가져오기("사양 제한");
//Spec_USL_num = Num(Word(1,Word(2,Char(Spec_Lims[2]),"("),")"));
//Spec_LSL_num = Num(Word(1,Word(2,Char(Spec_Lims[1]),"("),")"));
If( //가 누락됨(Spec_USL_num)!=0 || 누락됨(Spec_LSL_num)!=0,
isEmpty(Spec_Lims),
계속하다();
);
삽입 대상(columnsWithLimList, Char( Col_Names[i] ));
);
PC = Expr("프로세스 능력(
보이지 않는,
프로세스 변수( ");
For( i = 1, i <= N 항목(columnsWithLimList), i++,
PC = PC || ",:"||Char(columnsWithLimList[i]);
);
PC = PC|| "),
공정 능력 상자 그림( 0 ),
시그마 요약 보고서( 1 ) 내에서,
목표 플롯( 0 ),
공정 능력 지수 도표( 0 )
)";
평가(Parse(PC));
Re: out of spec에 대한 표 요약이 스크립트를 시도하면 다음 출력이 생성됩니다.

스크립트는 다음과 같습니다.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Semiconductor Capability.jmp" );
// Get all of the continuous columns
colList = dt << get column names( string, continuous );
// For use as an example, delete some spec limits
For( i = 3, i <= N Items( colList ), i = i + 6,
Column( dt, colList[i] ) << delete property( "Spec Limits" )
);
// Create the Process Capability Summary Report
PC = Process Capability(
invisible,
Process Variables( Eval( colList ) ),
Spec Limits Dialog( "No (skip columns with no spec limits)" ),
Capability Box Plots( 0 ),
Within Sigma Summary Report( 1 ),
Goal Plot( 0 ),
Capability Index Plot( 0 )
);
// Get a list of columns processed
processedColList = report(PC)["Within Sigma Capability Summary Report"][String Col Box( 1 )] << get;
// Create an output table
dt2 = Report( PC )["Within Sigma Capability Summary Report"][Table Box( 1 )] << make into data table( invisible );
PC << close window;
// Create a new column that will allow the original order
// of the columns to be listed
dt2 << New Column( "roworder" );
// Process through the data table, and if the column is not found
// in the processed data, add it to the data table
For( i = 1, i <= N Items( colList ), i++,
If( N Rows( Loc( ProcessedColList, colList[i] ) ) == 1,
dt2:roworder[Loc( ProcessedColList, colList[i] )[1]] = i,
dt2 << add rows( 1 );
dt2:Process[N Rows( dt2 )] = colList[i];
dt2:roworder[N Rows( dt2 )] = i;
)
);
// Sort the data into the original order
dt2 = dt2 << sort( by( :roworder ), order( ascending ), replace table( 1 ) );
// Get rid of the no longer needed roworder column
dt2 << delete columns( "roworder" );
// Create the new report
nw = New Window( "Summary Report", <<JOURNAL></JOURNAL>
Re: out of spec에 대한 표 요약안녕,
지원해 주셔서 감사합니다!
이 옵션은 실제로 내 요청을 지원할 수 있습니다.
그러나 (처음에는 언급하지 않았지만) 많은 열이 있고 일부에는 제한이 없으므로 제한을 추가하지 않으면 프로세스 기능이 지원되지 않습니다.
요약 테이블을 대체할 (아마도) JSL을 찾고 있으며 매개변수가 제한이 없는 경우 - 빈 셀(".")을 반환합니다.
Re: out of spec에 대한 표 요약안녕,
내가 당신을 올바르게 이해했다면 분석 >> 품질 및 프로세스 >> 프로세스 기능 만 사용하면됩니다.
이 보고서 내에서 요약 보고서를 선택해야 합니다. 요약 보고서에는 요청된 데이터가 포함되어 있습니다. 그렇지 않은 경우 테이블 헤더를 마우스 오른쪽 버튼으로 클릭하여 수동으로 사용자 정의해야 합니다. "열" 아래에는 가능한 모든 옵션이 있습니다. 원하는 경우 이를 새 데이터 테이블로 변환할 수 있습니다.
그뤼세,
마빈