Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

Set Rule

Use this command to change the description of a rule in the database, or set the description in alternate languages.

This command must be used in conjunction with Maintenance. While it is enabled, no other users can perform maintenance related activities in the Data Server repository. When you are finished, you must remember to disable the Maintenance mode, and thereby allow normal access by other users. For more information, see Maintenance or Exclusive.

Syntax:

SET RULE RuleID DESCRIPTION LanguageCode TO "RuleDesc"

where:

  • RuleID is the ID of the rule to be set.
  • RuleDesc is the new description you want to give the rule.
  • LanguageCode is the language in which to change or set the description for.

Syntax example:

MAINTENANCE ON

SET RULE 101 DESCRIPTION EN TO "ABC Rule"

MAINTENANCE OFF

Creating an ASCII input file

To make changes for a large number of rules, specify the parameters for this command in an ASCII file.

This command must be used in conjunction with Maintenance. While it is enabled, no other users can perform maintenance related activities in the Data Server repository. When you are finished, you must remember to disable the Maintenance mode, and thereby allow normal access by other users.

For more information, see Maintenance or Exclusive.

Create an ASCII file containing the following information for each symbol:

RuleName{DESCRIPTION[LanguageCode{TO[RuleDesc

Syntax (with an ASCII file):

SET RULE @FileName

where:

  • FileName is an ASCII file containing the data. It can include a complete or partial folder path in the format C:\...\FileName. If FileName includes spaces, enclose it in double quotation marks; for example:

    @"C:\My Documents\My Data.txt"

Note: If the document is in the same location as lv_af.exe, you do not need to specify the drive or path.

Syntax example:

MAINTENANCE ON

SET RULE @C:\Temp\Ruledescs.asc

MAINTENANCE OFF

Published:

Set Rule

Use this command to change the description of a rule in the database, or set the description in alternate languages.

This command must be used in conjunction with Maintenance. While it is enabled, no other users can perform maintenance related activities in the Data Server repository. When you are finished, you must remember to disable the Maintenance mode, and thereby allow normal access by other users. For more information, see Maintenance or Exclusive.

Syntax:

SET RULE RuleID DESCRIPTION LanguageCode TO "RuleDesc"

where:

  • RuleID is the ID of the rule to be set.
  • RuleDesc is the new description you want to give the rule.
  • LanguageCode is the language in which to change or set the description for.

Syntax example:

MAINTENANCE ON

SET RULE 101 DESCRIPTION EN TO "ABC Rule"

MAINTENANCE OFF

Creating an ASCII input file

To make changes for a large number of rules, specify the parameters for this command in an ASCII file.

This command must be used in conjunction with Maintenance. While it is enabled, no other users can perform maintenance related activities in the Data Server repository. When you are finished, you must remember to disable the Maintenance mode, and thereby allow normal access by other users.

For more information, see Maintenance or Exclusive.

Create an ASCII file containing the following information for each symbol:

RuleName{DESCRIPTION[LanguageCode{TO[RuleDesc

Syntax (with an ASCII file):

SET RULE @FileName

where:

  • FileName is an ASCII file containing the data. It can include a complete or partial folder path in the format C:\...\FileName. If FileName includes spaces, enclose it in double quotation marks; for example:

    @"C:\My Documents\My Data.txt"

Note: If the document is in the same location as lv_af.exe, you do not need to specify the drive or path.

Syntax example:

MAINTENANCE ON

SET RULE @C:\Temp\Ruledescs.asc

MAINTENANCE OFF

For an optimal Community experience, Please view on Desktop