我似乎无法从文档http://origen-sdk.org/origen/guides/program/flowapi/
中找到答案在Advantest的SmartTest 7.1.3及更高版本中,我们可以选择设置Group节点测试流组件的“Group Bypass”属性。
{
run_and_branch(TestA)
then
{
}
else
{
if @Alarm then
{
binout;
}
else
{
}
}
run_and_branch(TestB)
then
{
}
else
{
if @Alarm then
{
binout;
}
else
{
}
}
}, groupbypass, open,"DataCollectionTests", ""
我尝试在我的组定义中使用if_flag:,continue:和if_enable属性但我得到了
if @GROUPBYPASS == 1 then
{
.
.
.
}, open,"DataCollectionTests", ""
而不是在流程中。
连接这个房产的正确方法是什么?
答案 0 :(得分:1)
目前不支持此属性,如果您想要添加此属性,请在此处打开一张描述它的故障单:https://github.com/Origen-SDK/origen_testers/issues
与此同时,您可以使用render
方法生成它,该方法允许您显式定义要注入流中的代码。
例如:
render '{'
# Your existing code to be wrapped in the group here, e.g.
test :testA
render '}, groupbypass, open,"DataCollectionTests", ""'
您可以在界面中为其创建自己的帮助方法:
def group_bypass(name)
render '{'
yield
render "}, groupbypass, open,\"#{name}\", \"\""
end
然后在你的流程中:
group_bypass "DataCollectionTests" do
# Your existing code to be wrapped in the group here, e.g.
test :testA
end