Getdppropertyasint(ucptpriority), Setdpproperty (ucptaliasname) – Echelon i.LON SmartServer 2.0 User Manual
Page 229

i.LON SmartServer 2.0 Programming Tools User’s Guide
215
AL_FIR_MONITOR_COND
=20
AL_FIR_MAINT_ALERT
=21
AL_FATAL_ERROR
=30
AL_ERROR =31
AL_WARNING
=32
AL_HEADER =243
AL_FOOTER =244
AL_DEBUG
=245
AL_INFO =246
AL_SYSTEM_INFO =250
AL_VALUE_INVALID =251
AL_CONSTANT =252
AL_OFFLINE =253
AL_UNKNOWN
=254
AL_NUL
=255
EXAMPLE
FPM::Dp::PointStatus nviSetPoint_status;
nviSetPoint_status =
nviSetPoint.GetDpPropertyAsPointStatus(FPM::Dp::dataUCPTstatus);
printf ("nviSetPoint status = %d \n \n", nviSetPoint_status);
Note: Using this data point property method extensively may significantly impact the performance
of the SmartServer; therefore, it is recommended that you use it sparingly.
GetDpPropertyAsInt(UCPTpriority)
You can use the GetDpPropertyAsInt(UCPTpriority) method in the Work()and
OnTimer()
routines of an FPM application to read the current priority of a data point.
Note: The use of the GetDpPropertyAsInt(UCPTpriority) method is not recommended.
SYNTAX
int GetDpPropertyAsInt(FPM::Dp::dataUCPTpriority)
The FPM::Dp::dataUCPTlastupdate parameter specifies the UCPTpriority configuration
property of the data point. The UCPTpriority configuration property is a short that indicates the
current priority level assigned to the data point, where 0 is the highest priority, and 255 is the
lowest.
EXAMPLE
int nviSetPoint_priority;
nviSetPoint_priority =
nviSetPoint.GetDpPropertyAsInt(FPM::Dp::dataUCPTpriority);
printf ("nviSetPoint priority = %d \n", nviSetPoint_priority);
SetDpProperty (UCPTAliasName)
You can use the SetDpProperty(UCPTAliasName) method in the Work()and
OnTimer()
routines of an FPM application to write an alias name to a data point. This method
updates the UCPTAliasName configuration property of the data point.
SYNTAX