|
|
Rank: Newbie Groups: Member
Joined: 3/25/2009 Posts: 8 Location: Aberdeen
|
Hi there,
There is a question when I'm doing a small project with PI. I try to find the answer, but it seems hopeless. Here is the testing data (I don't know how to upload an attachment, so you can directly copy and paste them into an excel file )
Select (x) Tag archiving changedate changer compdev compdevpercent x TestA 1 12-May-09 16:00:00 piadmin 2 2 x TestB 1 12-May-09 16:00:00 piadmin 8 2 x TestC 1 12-May-09 16:00:00 piadmin 4 2
1. After I change the value of "compdev" attribute of "TestA" and use PI-SMT excel add-in to export tags to PI server, PI Tag Configurator shows "export succeeded. 0 errors. 3 tags edited". The values of tag "TestA" looks like this:
x TestA 1 12-May-09 16:00:00 piadmin 8 2 ( using 8 replace 2 )
However, when I use impot tags to check the value of TestA, I found the value of "compdev" still equal to 2. Nothing changed. Why there is no error message? Are there any relations between each attribute?
|
|
|
|
|
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.
|
Hello, What is the span attribute value for TestA? Principal Consultant Real-Time Data Management @ Wipro Technologies
|
|
|
Rank: Administration
 Groups: Administration
Joined: 6/20/2008 Posts: 612 Location: Cheshire, United Kingdom.
|
Just to get back to this...I suspect TestA's span is 100. When you update both compdev and compdevpercent attributes for a PI tag together then compdevpercent takes presedence. So your span is 100 but you have specified both a 2% change and 8 EngUnits change. As compdevpercent takes presedence the compdev is actually 2 EngUnits change (100 Span * 2% CompDevPercent = 2 CompDev). So when you import your tags, the PI system set compdev based on compdevpercent * span. Principal Consultant Real-Time Data Management @ Wipro Technologies
|
|
|
Rank: Newbie Groups: Member
Joined: 3/25/2009 Posts: 8 Location: Aberdeen
|
Hi RJK,
There is a logic ruleset I have to obey when I m doing my project. This ruleset was provided by my manager (I don't know where he get it, maybe comes from customer). Within the ruleset, It said "compdevpercent"=0.2 if span<=100, "compdev"=0.2 if 100<span<500, "compdev"=0.5 if span>500
so, here is my new testing data according to this ruleset. And i spend almost whole day to write code and do the test. I m not doing like yesterday, I just use PI-SMT to do two operations. one is export tags one is import tags.
However, after I export my testing data to PI server, and I import these data again, "compdev" and "compdevpercent" have been changed to "0", even though my original values are 0.2 and 0.2 respectively.
testing data
Select(x) Tag compressing descriptor digitalset engunits instrumenttag location1 location2 location3 location4 location5 pointsource pointtype span step zero compmax compmin dataaccess displaydigits ptaccess ptgroup ptowner shutdown compdev compdevpercent typicalvalue
x TestA 1 Batch_Active_Reactor_1 BatchAct STATE 13-BDV-861/IN 0 0 0 0 0 L digital 1 1 1 28800 0 o:rw g:r w:r 2 o:rw g:r w:r piadmin piadmin 0 0.2 0.2 1
|
|
|
Rank: Administration
 Groups: Administration
Joined: 6/20/2008 Posts: 612 Location: Cheshire, United Kingdom.
|
eyerobin, you can attach files to your posts in 2 ways. When making a new post make sure you check the "Attach files to this post?" option and then browse for your file. Finally click Upload. Or when viewing your post you should see an "Attach" button. Example file attached to this post: RJK Solutions attached the following image(s):  newlogo.jpg (33kb) downloaded 10 time(s).Principal Consultant Real-Time Data Management @ Wipro Technologies
|
|
|
Rank: Advanced Member Groups: Member
Joined: 7/23/2008 Posts: 38 Location: Cheshire, UK
|
Hi eyerobin,
couple of things jump out at me from your data that would to me make this a poor test vehicle.
Using pointsource of L - implies manual data - therefore why would you need compression
Using a digital pointtype but your compression values are typically analog i.e. 0.2
Regards,
Burnikell1
|
|
|
Rank: Newbie Groups: Member
Joined: 3/25/2009 Posts: 8 Location: Aberdeen
|
Hi RJK, Sorry, I still don't konw how to upload an attachment. Everytime when I try to make a new post, I usually click the "NEW TOPIC" button which located at the right top of the page. After I click this button, the only checkbox option is "Watch this topic and receive notifications of activity via e-mail?", I don't know where I can find the option you mentioned. RJK Solutions wrote:eyerobin, you can attach files to your posts in 2 ways.
When making a new post make sure you check the "Attach files to this post?" option and then browse for your file. Finally click Upload.
Or when viewing your post you should see an "Attach" button.
Example file attached to this post:
|
|
|
Rank: Newbie Groups: Member
Joined: 3/25/2009 Posts: 8 Location: Aberdeen
|
Hi Burnikell1, Thanks for ur reply. I have finished a small project and I need data to do the test. So I get some data from live system, save useful tag attributes, delete rest of them, then according to the logic rules which I have mentioned, my application generates this new testing data. 'cause I m a new guy in PI area, so I m not sure the relations between tag attributes. Do you think all my questions are because of my testing data? Burnikell1 wrote:Hi eyerobin,
couple of things jump out at me from your data that would to me make this a poor test vehicle.
Using pointsource of L - implies manual data - therefore why would you need compression
Using a digital pointtype but your compression values are typically analog i.e. 0.2
Regards,
Burnikell1
|
|
|
Rank: Newbie
 Groups: Member
Joined: 8/17/2010 Posts: 1 Location: Raccon City
|
 Hi, I'm new to the forum and congratulations for the support they give to users. First of all take this topic to post on this topic, I have a problem of values in real numbers. the value is displayed as an integer instead of decimal, ie 228.65 value delivered by the system is at 22865. Reviewing other similar tags in the system, are actually real numbers correctly as 22.25 in the "search tag" but not the one I try to create. where is the problem, and compdevpercent compdev section of the tag? or is in another place? Tag information: span: 2000 zero: -2000 Pointsource: O pointtype: float32 location 1: 1 location 2: 0 location 3: 1 location:4: 1 location 5: 0 thanks for the help I'm newbie on this  , sorry for my English also heheehe
|
|
|
Rank: Administration
 Groups: Administration
Joined: 6/20/2008 Posts: 612 Location: Cheshire, United Kingdom.
|
Hello, Can you supply any further information on this, for example: - How are the values generated? Application or Interface? - What are the configurations of i) the "wrong" tag and ii) the "correct" tag - How are you reading the value, by code or OSIsoft application? Principal Consultant Real-Time Data Management @ Wipro Technologies
|
|
|
|
Guest
|