Sequence.OptimizeNonReentrantCalls
- Updated2025-04-09
- 2 minute(s) read
Sequence.OptimizeNonReentrantCalls
Syntax
Sequence.OptimizeNonReentrantCalls
Data Type
Purpose
Specifies to decrease the amount of time required for TestStand to call the sequence after the first call to the sequence in an execution.
Remarks
If you set this property to False , TestStand initializes a new copy of each custom step property in a sequence each time it calls the sequence. TestStand performs the initialization so the sequence always begins executing with the initial property values the steps in the sequence specify. This initialization is necessary only if a sequence relies on the initial value of a custom step property and then modifies the value. Few sequences rely on this information.
When you set this property to True , TestStand initializes the value of the custom step properties in the sequence the first time it calls the sequence in an execution. TestStand reuses the custom step property values when it calls the sequence again. If the same sequence is in a different thread or recursively within the same thread simultaneously, TestStand creates unique copies of the custom step properties.