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
Problem with function dpAliasToName
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Problem with function dpAliasToName
I have tested it in 3.16 and it worked without problems.
Best Regards
Leopold Knipp
Senior Support Specialist
Best Regards
Leopold Knipp
Senior Support Specialist
- ask
- Posts:28
- Joined: Tue Nov 29, 2016 11:37 am
Re: Problem with function dpAliasToName
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
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
It worked in both cases.
Best Regards
Leopold Knipp
Senior Support Specialist