Query on config _common

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
bergauer
Posts:1
Joined: Tue Dec 14, 2010 9:22 am

Query on config _common

Post by bergauer »

Hello

I'm looking for a query to get the description from data points similar to "SELECT '_common.._???' FROM 'MyDp1.*' WHERE '_alert_hdl.._active' NULL". I know about the function dpGetAllDescriptions() but unfortunately I'm using CERNs pvssjava-lib that doesn't support this functionality.

Can the chosen attribute "_???" be named? Or is there no possibility to do so?

Best Regards
Andreas Grob

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

Re: Query on config _common

Post by leoknipp »

Hello,

the "_common" config is not a config like the other ones.
The information stored in the "_common" config is just displayed as config in the para module to be able to set the values.
To set/read information for this config you have to use the functions for it. Doing a dpSet/dpGet on the _common config is not possible as it has no attributes.
Therefore you cannot use this config in a query string.

Best Regards
Leopold Knipp
Senior Support Specialist

2 posts • Page 1 of 1