Hello,
with the dpQuery() function I am trying to get some archived dp values which are synchronously archived to the DB( multi dp's are set by atomic dpSet function).
I checked that they are achieved at the same time. And the query function returns true values. But I get a warning on the log screen "SEVERE, 69, Database error, DbQueryList::insertNewAttribute not successful, values at same time in DB are not allowed "
For example I have a dpt naming "dpTest" with 3 node "dp01", "dp02", "dp03". And from this type, I have a dp naming dpTest01.
The query string =
"SELECT 'dp01:_original.._value', 'dp02:_original.._value', 'dp03:_original.._value', 'dp01:_original.._stime', 'dp02:_original.._stime',"
" 'dp03:_original.._stime' FROM 'dpTest01' WHERE _DPT = \\"dpt01\\" AND 'dp01:_original.._stime' == 'dp02:_original.._stime' "
" TIMERANGE(\\""+ t1 + "\\",\\"" + t2 + "\\",3,0)";
Could you help me with this warning issue?