Feature request: add constant DPSUB_EL

Discussion about recent product features & solutions!
Search

Post Reply
2 posts • Page 1 of 1
gschijndel
Posts: 330
Joined: Tue Jan 15, 2019 3:12 pm

Feature request: add constant DPSUB_EL

Post by gschijndel »

I have seen in many projects that only the element part (without the datapoint part, .EL) is used from a datapoint element (SYS:DP.EL).
Some examples in case it is not clear (bold text is meant with the element part):
System1:_Connections.Driver.ManNums
System1:_Event.Heartbeat
System1:ExampleArg1. (only the dot)

I have tried to use the 'dpSubStr' to get this part and it turns out that it is possible to get only the element part by using the value 'DPSUB_DP / 2'.

I would like to know how many community members also use only the element part of a datapoint element. And find it useful to have a constant for this available in control.

weirdal
Posts: 32
Joined: Thu Mar 12, 2015 11:37 am

Re: Feature request: add constant DPSUB_EL

Post by weirdal »

I also have been missing this one at times.

Post Reply
2 posts • Page 1 of 1