Why After Customizing The NI Sweep Loop Step The Looping Capability Of The Step Is Lost?

Updated Nov 1, 2023

Reported In

Software

  • TestStand

Issue Details

I want to customized the built-in TestStand Sweep Loop and rename it to another name. After customizing and renaming, I found out that the looping property is lost and the customized step only run once.
image.png
Why is this happening? And how to solve it?

Solution

This is expected and thus not a bug. The Flow step types have an optimization which utilize the NI step type name as a prefix for various operations. Therefore, you will lose functionality if you rename the new step type by removing the originating NI step type name as its prefix. For example, renaming the type to a_NI_Flow_SweepLoop results in the described behavior. However, renaming the type to NI_Flow_SweepLoop_a results in the desired behavior. This occurs because the type name keeps the originating type name as its prefix.

Additional Information

The naming prefix applies to all step types in the Flow folder structure.