Conditional Manual Data Entry (CMDE)
- Last UpdatedNov 22, 2022
- 2 minute read
- PI System
- PI Manual Logger 2017 R2
- Visualization
Conditional Manual Data Entry (CMDE) provides a set of functions to determine if a PI point should be collected based on conditions during a tour run. These conditions can include current values of other points, previous values of points, the time a point was collected, as well as many other options.
CMDE can be defined for an individual point or for a group of points. CMDE for individual points takes precedence over any group CMDE. The Conditional Specification field can be accessed from the Tag Configuration window in the following ways.
-
For individual conditional specification, you select the Tag Entry Options tab.
-
For group conditional specification, you select a group from the Tree View and then select the Tag Group Configuration tab.
After the conditional specification is entered, you verify your formula by clicking
. Note that if you use an invalid function, the function is displayed in red font.
An invalid formula elicits an error or warning. For example, if you use a PI point that does not exist within the tour, you receive a warning. A warning is displayed because you can add the point to the tour at a later time (prior to running the tour) and revalidate the conditional specification.
To activate the editor's IntelliSense feature, use these key combinations:
-
CTRL + SHIFT. Prompts with a list of CMDE functions along with their descriptions.
-
CTRL + T. Prompts with a list of tags in the tour.
-
CTRL + O. Prompts with a list of CMDE operators.
Limitations
To save database space, the total number of characters (including spaces) of a CMDE formula cannot exceed 1000. If a formula has more than 1000 characters, PI Manual Logger displays a validation error message, automatically truncates extra characters, and validates against only the first 1000 characters of the formula.
CMDE is not case-sensitive and spaces are optional.