dpquery for only DPs

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
5 posts • Page 1 of 1
paramesh1985
Posts:81
Joined: Thu Sep 25, 2014 6:03 am

dpquery for only DPs

Post by paramesh1985 »

Hi,

It is possible to query only DPs using dpquery.

please suggest me.

thanks.

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

Re: dpquery for only DPs

Post by leoknipp »

Can you please describe more detailed what you want to do.
What kind of information do you want to read using dpQuery?
Are possibly looking for the CTRL function dpNames()?

Best Regards
Leopold Knipp
Senior Support Specialist

nmnogueira
Posts:125
Joined: Thu May 05, 2011 12:59 pm

Re: dpquery for only DPs

Post by nmnogueira »

What do you mean?

paramesh1985
Posts:81
Joined: Thu Sep 25, 2014 6:03 am

Re: dpquery for only DPs

Post by paramesh1985 »

Hi,

I want to query the dpnames only from remote system .

for local system we can use dpNames() function.

But for remote system i have to use dpquery only but currently i can able to query only dpe elements not dps.


Example :

["SELECT '_original.._value' FROM '**.**' REMOTE 'System1:'WHERE _DPT = \"Float_64\" "]

if not clear please let me know

dbindernagel
Posts:161
Joined: Mon Feb 23, 2015 1:34 pm

Re: dpquery for only DPs

Post by dbindernagel »

dpNames can be used to query other systems:

Code: Select all

dyn_string dp = dpNames("DIST_1:*");
(Change DIST_1 to the name of the system you want to query)

5 posts • Page 1 of 1