Managing Type Revisions

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

When you load a file that contains a type definition and another type definition with the same name already exists in memory, TestStand compares the two type definitions, including all the built-in and custom subproperties in the types.

If the types are identical, TestStand continues to use the type in memory. If the types are not identical, TestStand attempts to resolve the type conflict. TestStand automatically selects the type with the latest version number when all of the following conditions exist:

  • The version numbers of the types are different
  • The PropTypeFlags_IsModifiedType type flag is disabled for both types
  • The Always prompt the user to resolve the conflict option on the Version tab of the Step Type Properties dialog box or on the Version tab of the Type Properties dialog box is disabled for both types
  • The Allow Automatic Type Conflict Resolution option on the File tab of the Station Options dialog box does not restrict automatic type conflict resolution in this situation

If TestStand cannot automatically resolve a type conflict, TestStand either launches the Type Conflict in File dialog box or, if TestStand is loading a file an execution calls, returns a run-time error.

Note Note  If an execution calls a file that has a later version of a type than the type version currently loaded in memory, TestStand does not automatically resolve the conflict and instead returns a run-time error. Replacing a type definition while an execution is running is unsafe because the execution might be using the type.

The Type Conflict in File dialog box prompts you to resolve the conflict. You can select to use or rename the type currently loaded in memory or use or rename the type in the file you are attempting to load. When you select to use one of the two versions of the type, TestStand converts all instances of the type to match the type version you select. If you rename one of the two versions of the type, TestStand modifies the instances of the type in memory that refer to the version of the type you select to refer to the renamed version.

Note Note  Type instances not in memory refer to the original name for the type and might cause additional conflicts when you load them.


Not Helpful