Setdpproperty (ucptpriority), Fpm driver data point property methods, Setdpproperty(defoutput) – Echelon i.LON SmartServer 2.0 User Manual
Page 230

216
Appendix A - Programmer’s Reference
void SetDpProperty(FPM::Dp::dataUCPTAliasName, const char* const
pszValue)
The pszValue parameter specifies an alias name to be assigned the data point. The alias name
can be any string that describes the data point.
EXAMPLE
nviSetPoint.SetDpProperty(FPM::Dp::dataUCPTAliasName, “FPM DP
Setpoint”);
SetDpProperty (UCPTpriority)
You can use the SetDpProperty(UCPTpriority) method in the Work()and
OnTimer()
routines of an FPM application to write a priority to a data point. This method
updates the UCPTpriority configuration property of the data point, which indicates the current
priority level assigned to the data point, where 0 is the highest priority, and 255 is the lowest.
Note: The use of the SetDpProperty(FPM::Dp::dataUCPTpriority)method is not
recommended.
SYNTAX
void SetDpProperty(FPM::Dp::dataUCPTpriority, int nValue)
The nValue parameter specifies the priority to be assigned the data point.
EXAMPLE
nviSetPoint.SetDpPropertyAsInt(FPM::Dp::dataUCPTpriority, 200);
FPM Driver Data Point Property Methods
For the data points declared in an FPM driver, you can use specific property methods in the
Initialize()
routine to set their default values, persistent flags, poll rates, and unit strings. The
following table displays the valid scope of the data point property methods in an FPM driver.
FPM Driver Scope
Property Name
Initialize()
Work()
OnTimer()
Shutdown
FPM::Dp::cfgUCPTdefOutput Write
— — —
FPM::Dp::cfgUCPTpersist Write
— — —
FPM::Dp::cfgUCPTpollRate Write
— — —
FPM::Dp::cfgUCPTunit Write
— — —
Note: Using the data point property methods extensively may significantly impact the performance of
the SmartServer; therefore, it is recommended that you use these methods sparingly.
SetDpProperty(defOutput)
You can use the SetDpProperty(defOutput) method in the Initialize()routine of an
FPM driver to write the default value of a data point. This is the value that the data point should
use when it is not receiving updates, or when it is reset or overridden.
SYNTAX
void SetDpProperty(FPM::Dp::cfgUCPTdefOutput, int nValue)
The nValue parameter specifies the default value to be assigned the data point.