CVIAdapter.CodeTemplatePolicy

Syntax

CVIAdapter.CodeTemplatePolicy

Data Type

AdapterCodeTemplatePolicies

Use the following constants with this data type:

  • AdapterCodeTemplatePolicy_UseNewAndLegacy –(Value: 2) Specifies that the adapter searches for new and legacy code templates.
  • AdapterCodeTemplatePolicy_UseOnlyLegacy –(Value: 1) Specifies that the adapter only searches for legacy code templates.
  • AdapterCodeTemplatePolicy_UseOnlyNew –(Value: 0) Specifies that the adapter only searches for new code templates.

Purpose

Specifies which code templates to use during code creation. You can choose to use new templates, legacy templates, or both new and legacy templates.