YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Two tags in one Options · View
starsarebent
#1 Posted : Thursday, November 12, 2009 5:10:59 PM
Rank: Newbie
Groups: Member

Joined: 10/31/2008
Posts: 4
Location: USA
I'm trying to concatenate the archive data from two tags into one data set. Basically I have a start time of the new tag and an end time of the old tag, and I want to throw them both into one data set in Process Book. (see (semi)illustration below)

The problem is, I'm having trouble locating a list of the data set expressions that you can use when creating a data set. How can I do this, and where can I get a list of expressions for data sets? Thanks in advance.


Sponsor  
 
RJK Solutions
#2 Posted : Sunday, November 15, 2009 12:30:25 PM
Rank: Administration

Groups: Administration

Joined: 6/20/2008
Posts: 409
Location: Cheshire, United Kingdom.
Hello...

An Expression Dataset is based on Performance Equation syntax so you should have a document "PEReference.chm" that lists the available functions.
With regards to your particular issue, my thinking cap is on so watch this space.

Rhys.


OSIsoft PI System Specialists
PI consultancy on PI Systems, PISDK, AFSDK, OLEDB etc and PI custom developments. Well pretty much anything to do with PI!


RJK Solutions
#3 Posted : Wednesday, November 18, 2009 1:22:53 PM
Rank: Administration

Groups: Administration

Joined: 6/20/2008
Posts: 409
Location: Cheshire, United Kingdom.
Had 2 minutes to spare...you can combine in a Dataset using the below example expression (substitute your own time/tags):


if PrevEvent('Tag1','*') < '18-Nov-09 00:00:00' then 'Tag1' else 'Tag2'


OSIsoft PI System Specialists
PI consultancy on PI Systems, PISDK, AFSDK, OLEDB etc and PI custom developments. Well pretty much anything to do with PI!


Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.