You are right!
I was really sure that dpget couldn't return _address config, as I read in:
viewtopic.php?f=16&t=8595&p=963721&hili ... ch#p963699
But it talks about dpQuery, not dpGet!!!
Thank you very much....
Search found 31 matches
- Fri Apr 05, 2019 9:19 am
- Forum: HowTos
- Topic: Getting _address from dp name with DPmatch/HWmatch
- Replies: 2
- Views: 3608
- Thu Apr 04, 2019 5:20 pm
- Forum: HowTos
- Topic: Getting _address from dp name with DPmatch/HWmatch
- Replies: 2
- Views: 3608
Getting _address from dp name with DPmatch/HWmatch
Given an address wildcard (for example for IecDriver: "30.*.*.*.*.*") and the datapoint name, I need to retrieve the specific _address config of that datapoint. So I realized this solution: I execute a double step: 1- dpSet("_DriverX.AD.HWmask",wildcard) / dpGet("_DriverX.AD...
- Thu Jan 31, 2019 12:00 pm
- Forum: HowTos
- Topic: Query _archive config
- Replies: 3
- Views: 3982
Re: Query _archive config
It's a general issue, both for HDB and RDB.
Thanks.
Thanks.
- Thu Jan 31, 2019 10:59 am
- Forum: HowTos
- Topic: Query _archive config
- Replies: 3
- Views: 3982
Query _archive config
From a CTRL manager, I need to query all dpe names which has _archive config active.
But dpQuery doesn't return any value for '_archive.._type' or '_archive.._archive' attributes in the SELECT field.
Can you help me?
Thanks.
But dpQuery doesn't return any value for '_archive.._type' or '_archive.._archive' attributes in the SELECT field.
Can you help me?
Thanks.
- Thu Jan 31, 2019 10:37 am
- Forum: HowTos
- Topic: ELEMENT_ID
- Replies: 5
- Views: 5991
Re: ELEMENT_ID
Is it correct?
- Thu Jan 24, 2019 4:36 pm
- Forum: HowTos
- Topic: ELEMENT_ID
- Replies: 5
- Views: 5991
Re: ELEMENT_ID
Ok, but how to calculate ELEMENT_ID? Maybe:
ELEMENT_ID = dp_id * 0x1000000 + dpe_id * 0x100 + sys_id
?
ELEMENT_ID = dp_id * 0x1000000 + dpe_id * 0x100 + sys_id
?
- Thu Jan 24, 2019 2:43 pm
- Forum: HowTos
- Topic: ELEMENT_ID
- Replies: 5
- Views: 5991
ELEMENT_ID
I need to retrieve, through a CTRL script, the ELEMENT_ID of the ELEMENTS table in RDB archive.
dpGetId() retrieves dp_id and dpe_id, but how do I get sys_id and how do I combine them to calculate ELEMENT_ID?
Thanks.
dpGetId() retrieves dp_id and dpe_id, but how do I get sys_id and how do I combine them to calculate ELEMENT_ID?
Thanks.
- Fri Jan 18, 2019 5:01 pm
- Forum: HowTos
- Topic: dpQueryConnect and new datapoints
- Replies: 2
- Views: 3475
Re: dpQueryConnect and new datapoints
Thank you very much Leo.
Regards.
Regards.
- Thu Jan 17, 2019 3:52 pm
- Forum: HowTos
- Topic: dpQueryConnect and new datapoints
- Replies: 2
- Views: 3475
dpQueryConnect and new datapoints
A CTRL manager executes a query connect command to register a callback function when changes happen to some datapoints values. Datapoints involved by the query are, for example: FROM 'VALVE.*' or _DPT = "MYDPT" If new datapoints matching these conditions are added to database after the scr...
- Wed Jan 16, 2019 12:24 pm
- Forum: HowTos
- Topic: Invalid values to RDB archive
- Replies: 1
- Views: 2749
Invalid values to RDB archive
In my project (wincc-oa 3.14) RDBmanager archives dpe value changes to Oracle db.
If I query HISTORYVALUES tables, I can't find values with invalid property set: in fact, no column exists for storing this attribute.
How is possible to archive on RDB also invalid values?
Thanks.
If I query HISTORYVALUES tables, I can't find values with invalid property set: in fact, no column exists for storing this attribute.
How is possible to archive on RDB also invalid values?
Thanks.