如何將值放入規格限制列屬性中嗨,社區,我正在盡力解決這個問題,但我一次又一次失敗。 有人能告訴我我的錯誤在哪裡嗎?
我想將值文本框放入規格限制列屬性中? 我已經嘗試過很多次了。 如果我
改變
{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>
自動化和腳本編寫回复:如何將值放入規格限制列屬性中你必須評估這些價值觀使用 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)}
)
)
));回复:如何將值放入規格限制列屬性中仍然不適合我。 文本框中的值未達到規格限制。
回复:如何將值放入規格限制列屬性中更新!!!
在研究了這個社區中的所有主題之後,我已經通過研究應用給出的每個解決方案的所有方法來解決這個問題。 感謝上帝,我在上帝的幫助下解決了這個問題。 真主阿拉
這是我的腳本
// 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);
// 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>