Hi all,
I am very new to PI.
My company already uses OSi PI, and we use a tool ''OPCDAServer" to simulate events.
The events are retrieved by "timeeq" which works fine.
However, when I programatically insert tag in [piarchive].[picomp2], timeeq doesn't see it.
SELECT * FROM [piarchive].[picomp2] WHERE tag in ('Some_State') and time > '2014-04-22 06:00:00.00'
Then I get:
tag,time,_index,value,status,questionable,substituted,annotated,annotations Some_State,2014-04-22 13:00:12.051,1,3006.0,0,false,false,false,null Some_State,2014-04-22 13:09:35.016,1,4002.0,0,false,false,false,null Some_State,2014-04-22 13:10:12.035,1,3006.0,0,false,false,false,null Some_State,2014-04-22 13:10:13.034,1,3006.0,0,false,false,false,null Some_State,2014-04-22 13:12:49.335,1,4003.0,0,false,false,false,null Some_State,2014-04-22 13:20:13.033,1,3006.0,0,false,false,false,null Some_State,2014-04-22 13:20:14.031,1,3006.0,0,false,false,false,null Some_State,2014-04-22 13:21:16.585,1,4001.0,0,false,false,false,null Some_State,2014-04-22 13:30:13.032,1,3006.0,0,false,false,false,null Some_State,2014-04-22 14:50:19.044,1,3006.0,0,false,false,false,null
Now, when I run:
SELECT TIMEEQ('Some_State', '2014-04-22 06:00:00.00', '2014-04-22 20:00:00.00', 4001)
I always get 0, but other non programmatically inserted tags are correctly retrieved.
In other words, inserting into picomp2 doesn't seem to be used by TIMEEQ, is there another place to insert? any specific configuration somewhere?
Thanks a lot,
Ahmed