如何将值放入规格限制列属性中嗨,社区,我正在尽力解决这个问题,但我一次又一次失败。 有人能告诉我我的错误在哪里吗?
我想将值文本框放入规格限制列属性中? 我已经尝试过很多次了。 如果我
改变
{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>