Test Program Generator
UltraFLEX API
Be sure to read and understand the guide to Creating an Interface and J750 API before reading this section. This guide will describe the API differences between UFlex/IG-XL and J750/IG-XL test program generation.
functional :test2, sbin: 101, number: 20020, sub_tests: [ sub_test(:limit_name1, lo: -2, hi: 2), sub_test(:limit_name2, lo: -1, hi: 1) ]
# Another example using a custom instance def sar_cal_test(name, options = {}) ti = test_instances.sar_tests.sar_cal name # ... # Assign fixed limits options[:sub_tests] = [ sub_test(:source_gain, lo: 0.99, hi: 1.01), sub_test(:source_offset, lo: -0.001, hi: 0.001) ] # add the test to the flow flow.test ti, options end