|
|
Rank: Member Groups: Member
Joined: 3/24/2009 Posts: 20 Location: Saudi Arabia
|
Dear PI People;
We are currently having problems on the data being written to our PITags.
There are two (2) tags thats being populated with values automatically. The first tag is reading its values from an equipment and the other tag has a reference tag on the first tag (sourcetag is the first tag). As we checked the values on the PICOMP table, the first tag is showing good values while the other tag is showing some zero entries. Below is the result of the query. Can anyone help us troubleshoot this problem.
TAG1 = Reading from an equipment
tag time value svalue status flags TAG1 7/27/2009 10:03:40 AM 100 0 TAG1 7/27/2009 10:13:30 AM 100 0 TAG1 7/27/2009 10:33:40 AM 100 0 TAG1 7/27/2009 10:43:30 AM 100 0 TAG1 7/27/2009 11:08:20 AM 100 0 TAG1 7/27/2009 11:18:10 AM 100 0 TAG1 7/27/2009 11:38:20 AM 100 0 TAG1 7/27/2009 11:48:10 AM 100 0 TAG1 7/27/2009 12:08:20 PM 100 0 TAG1 7/27/2009 12:18:10 PM 100 0 TAG1 7/27/2009 12:38:20 PM 100 0 TAG1 7/27/2009 12:48:10 PM 100 0 TAG1 7/27/2009 1:08:20 PM 100 0 TAG1 7/27/2009 1:18:10 PM 100 0
TAG2 = SOURCETAG IS TAG1
tag time value TAG2 7/27/2009 10:03:40 AM 100 TAG2 7/27/2009 10:13:30 AM 0 TAG2 7/27/2009 10:33:40 AM 100 TAG2 7/27/2009 10:43:30 AM 0 TAG2 7/27/2009 11:08:20 AM 100 TAG2 7/27/2009 11:18:10 AM 0 TAG2 7/27/2009 11:38:20 AM 100 TAG2 7/27/2009 11:48:10 AM 100 TAG2 7/27/2009 12:08:20 PM 100 TAG2 7/27/2009 12:18:10 PM 0 TAG2 7/27/2009 12:38:20 PM 100 TAG2 7/27/2009 12:55:48 PM 100 TAG2 7/27/2009 1:08:20 PM 100
Thanks.
Jayson
|
|
|
|
|
OSIsoft vCampus is a subscription-based, online offering that consists of providing everything people need to develop applications on the PI System. We invite you to take a "tour" of the OSIsoft Virtual Campus - also feel free to consult the FAQ or contact OSIsoft vCampus for more details.
|
|
|
Rank: Administration
 Groups: Administration
Joined: 6/20/2008 Posts: 612 Location: Cheshire, United Kingdom.
|
Hi Jayson, When you have 0 for tag2, what is the status value? Principal Consultant Real-Time Data Management @ Wipro Technologies
|
|
|
Rank: Member Groups: Member
Joined: 3/24/2009 Posts: 20 Location: Saudi Arabia
|
Hi,
the status value of tag2 is 0 for both 0 and non-0 values.
|
|
|
Rank: Advanced Member Groups: Member
Joined: 5/14/2009 Posts: 35 Location: UK
|
How is your Tag2 linked to Tag1 ??
I'd use a PE for this with a simple calc... Event='Tag1','Tag1' Location1 = 2 (or whatever you have your recalculator set to*) Location3 = 1 (copies timestamp from source tag)
Have you watched the data for Tag1 as it arrives from the instrument? If you have scan times set to retrieve these values I've seen values come into our PI system then shortly after change and I can only think this is due to network hiccups. So if you are experiencing something like that it would explain why Tag2 takes the first value then doesn't update with the correct value when it arrives.
*Believe it or not the recalculator is actually useful for something. .
|
|
|
|
Guest
|