Panel Name

fwDpFunctionConfigPopup.pnl

Introduction

This panel is used to set up the Data Point function configuration for one or many data point elements. If the panel is used for just one data point element at a time, the panel shows the current DP function of the data point element when loaded.

Instructions

When configuring the DP function for a data point element (or elements) you should first check the "DP Function ON/OFF" check box. Then the DP Function options will appear.

Next, you must choose the function parameters (p1, p2...) and function globals (g1, g2...) that you require for the calculation.  As you add parameters and globals, you will notice that each one is assigned a name, starting with p for parameters and g for globals.  It is these names that will be used to refer to the parameters and globals in the DP function.

Note: The function parameters and function globals are handled in different ways by the DP function.  A change in any of the function parameter data point elements will cause the calculation to be triggered.  At this point, the value of all the other function parameters will be obtained for the calculation.  For global values, the value is only read when the config is saved (when the OK or Apply button is pressed).  A change in a global value data point element does not cause the function to be reevaluated.  Nor, will this new value be used if the function is reevaluated due to a change in one of the function parameters.

Once you have selected the desired function parameters and globals, you need to define the actual DP function.  This can be done by using standard mathematical operators, some PVSS functions and by referring to the parameters and globals using the names in the lists, e.g. p1, g1.  Examples of valid DP Functions are:

(p1+g1)*p2
getBit(p1, 3)

When the function is defined, press OK or Apply to save the configuration.

To delete the DP function configuration on the data point element(s), uncheck the "DP Function ON/OFF" check box and then press either OK or Apply.

Restrictions

A DP function can only be set on certain types of data point elements . The panel does not, for example, allow any DP function config to be set for a structure data point element.

If you load the panel for a collection of data point elements, the panel will show only the DP function options that can be applied to all the current elements. So, for example, if the panel is used to configure a float element and a structure element, the DP function will not be able to be configured because the structure data point element does not support it. You can press the "Select Elements" buttons to choose which data point elements to configure from the list that was passed to the panel.

 

Panel screenshot

 

 

Dollar Parameters
Name Description  
$sDpe

The name of the data point element(s) to configure.

If you wish to use the panel for multiple data point elements, you should pass a list in the same format as the PVSS dyn_string, i.e.dpe1 | dpe2 | dpe3

Required