사양 제한 열 속성에 값을 입력하는 방법커뮤니티 여러분, 저는 이 문제를 해결하기 위해 최선을 다하고 있지만 몇 번이고 실패했습니다. 누군가 내 실수가 어디에 있는지 말해 줄 수 있습니까?
사양 제한 열 속성에 값 텍스트 상자를 입력하고 싶습니까? 나는 이미 여러 번 시도했습니다. 만약 내가
변화
{LSL(LowL), USL(HighL), Show Limits( 2 )}~ 안으로
{LSL(500), USL(1000), Show Limits( 2 )}그것은 효과가 있었다. 그러나 나는 숫자를 원하지 않고 LowL 및 HighL의 가치를 원합니다.
여기 내 전체 스크립트</CODE></P><P> </P><PRE><CODE class=" language-jsl">dt = Current Data Table();
// Get the all column names from the data table
columnNames = dt << Get Column Names("String");
// Choose the specific column
cl = New Window("Column Selection", <<MODAL></MODAL>
자동화 및 스크립팅Re: 사양 제한 열 속성에 값을 입력하는 방법값을 평가해야 합니다. Eval Insert, Eval Expr, Parse 및 Substitute를 사용하여 한 표현식을 다른 표현식에 삽입 . 하나의 옵션은 다음과 같습니다.
Eval(EvalExpr(
col << Add Column Properties(
Set Property(
"Spec Limits",
{LSL(Expr(LowL)), USL(Expr(HighL)), Show Limits(2)}
)
)
));Re: 사양 제한 열 속성에 값을 입력하는 방법여전히 나를 위해 작동하지 않았습니다. 텍스트 상자의 값이 사양 제한에 도달하지 않았습니다.
Re: 사양 제한 열 속성에 값을 입력하는 방법업데이트!!!
이 커뮤니티의 모든 주제를 조사한 후 나는 주어진 모든 솔루션에 주어진 모든 방법을 연구로 이미 해결했습니다. 하나님의 도우미로 이것을 해결해 주셔서 감사합니다. 알함두릴라
여기 내 스크립트
// Open a data table or replace "Data Table Name" with the name of your data table
dt = Current Data Table();
// Get the all column names from the data table
columnNames = dt << Get Column Names("String");
// Choose the specific column
cl = New Window("Column Selection", <<MODAL></MODAL>Re: 사양 제한 열 속성에 값을 입력하는 방법이것은 나를 위해 작동합니다
Names Default To Here(1);
// Open a data table or replace "Data Table Name" with the name of your data table
dt = Current Data Table();
// Get the all column names from the data table
columnNames = dt << Get Column Names("String");
// Choose the specific column
cl = New Window("Column Selection",
<<MODAL></MODAL>
또한 원하는 경우 모든 선택 항목을 단일 모달 창으로 결합할 수 있습니다.
Names Default To Here(1);
dt = Current Data Table();
col_names = dt << Get Column Names("String", Continuous);
nw = New Window("Set Specs", << Modal,
H List Box(
Panel Box("Select Column",
rb_col = Radio Box(col_names)
),
Panel Box("Select Limits",
Lineup Box(N Col(2),
Text Box("LSL: "),
lsl_neb = Number Edit Box("", <<SET width=""></SET>