Problem with function dpAliasToName

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
4 posts • Page 1 of 1
ask
Posts:28
Joined: Tue Nov 29, 2016 11:37 am

Problem with function dpAliasToName

Post by ask »

Hello,

Whenever I use dpAliasToName, I always get empty string.

For test I tried:

string dp="A000_G_LBC01.analog.value";
string ali=dpGetAlias(dp);
DebugN(ali);
DebugN(dpAliasToName(ali));

and i got:

["A000_ZK_LBC"]
[""]


Where is the fault?

Regards

Adam

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Problem with function dpAliasToName

Post by leoknipp »

I have tested it in 3.16 and it worked without problems.

Best Regards
Leopold Knipp
Senior Support Specialist

ask
Posts:28
Joined: Tue Nov 29, 2016 11:37 am

Re: Problem with function dpAliasToName

Post by ask »

I'm using 3.15 patch 7. Maybe it was fixed...

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Problem with function dpAliasToName

Post by leoknipp »

I have repeated the test with 3.15 P018 and an older version.
It worked in both cases.

Best Regards
Leopold Knipp
Senior Support Specialist

4 posts • Page 1 of 1