RI Title
RI logo


Below are some screenshots and an explanation of the terminate section flag that will execute essentially a "do-while" conditional loop. Examples are provided for DC, FetPulser and RF Power sweeps.



Requirements:
    • The conditional flag measurement must be in its' own section. The section should be run un-optimized.
      (This is the case by default whether you set the section to un-optimized or not since the flag was designed to run with a measurement sweep, and sweeps run from lowest value to highest or highest to lowest.)
    • The conditional flag must be connected directly to an instrument measurement block to operate. There cannot be any intermediate calculation or arithmetic operations between the instrument measurement and the conditional flag.
    • To terminate the measurement and/or section, the Set Flag button value must be set to "terminateSection"
    • The terminate exits the section directly from the point with fails the test. It immediatly goes to the value used in the next section. So if the next section does not set a value it will remain at the last used value. This is the same behavior that it would have if it did not terminate. If you want it to reset to zero then set the defaults either globally or in the following sections to 0.

In the example below, the terminate condition flag is monitoring a RF complex voltage sweep measured by the receiver. The source is sweeping from -10dBm to +10dBm. The condition is set to terminate the section after a measured value of greater than 3 dBm is met.


Once the Set Flag button is connected to a measurement block, the measurement unit of the conditional flag can be selected by right clicking on the button and selecting 'Data Format' from the pop-up menu. The list of available units is dependent on the associated measurement block.
The limits on the flag can be set by right clicking the flag button and selecting 'Flag Limits' from the pop-up menu. These set the 'if true' criteria that will cause the measurment loop/sweep to terminate. In the example below, a 'minimum' value set to 3 dBm will cause the sweep to terminate when the measured value increases and exceeds the minimum value of 3 dBm.
Setting a 'Maximum' value of 3 dBm will terminate a sweep if the measured value is below 3 dBm.
When a value is set for both the 'Minimum' and 'Maximum' conditions, the flag will terminate the measurement sweep when the range criterion is met:
If the 'Minimum' is set to a value less than the 'Maximum', the sweep will terminate when a value between the bounds of the minimum and maximum values is measured.
If the 'Minimum' is set to a value greater than the 'Maximum', the sweep will terminate when a value outside of the minimum and maximum bounds is measured.



The screenshot below provides an example of how the flag works, showing the measured values in the worksheet. When the condition of greater than 3 dBm is met, the loop terminates after measuring 3.4641 dBm.



Example Testplans terminating DC, FetPulser, and Power sweeps:
TerminateSection_SweepExamples.gzpTerminateSection_SweepExamples.gzp

PrintEmail Link
https://roos.com/docs/RBEH-C6GS8S
ROOS INSTRUMENTS CONFIDENTIAL AND PROPRIETARY
©2021-2024 Roos Instruments, Inc. All rights reserved.