LabVIEWAdapter.CodeTemplatePolicy

Syntax

LabVIEWAdapter.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. Policies to choose from include using new templates, using legacy templates, or using both new and legacy templates.