The RtBatchTable
Web Part is used
for showing the lists of what we call batches,
from our batch records that are stored on the PI Server.
Now batches are simply events that are
repeated. We traditionally call them batches.
Let me show you an example of what types of
processes lend themselves towards batches.
Now this is a traditional batch environment, in this case
it's a cheese cake factory. This cheese cake factory
is going to be making cheese cakes. But first
of all, it mixes it some crust. It sends that
crust to a super cake maker.
It mixes up some cake
mix, the actual cheese cake stuffing. It sends that to
the super cake maker, and then about once an
hour, the super cake maker pumps out about
600 of these cheese cakes.
And that's considered one unit batch.
Now that is something that
probably happens several times a day.
And at some point, we would like to be able to see
specific instances
where you ran those batches or ran
a unit batch to produce a certain number of cheese cakes.
So in order to do that, we have
as you can see, it's a tabular
Web Part right here where you can specify
the level of
repeated event that you want to look for. I'm going to look for a
unit batch here. You can specify the start time and the
end time. I'll go back the last four hours for example.
And you can specify some other things about that repeated event.
Now if you are interested in looking at an event that
you've done over and over again, you usually know something about it.
You know what the product was, or what the name of the procedure was
or what physical unit that you used to produce it.
Or maybe a batch ID. In that case, that's what I'm
going to look for. I'm going to look for all these
super cake maker unit batches. So I'm looking for a batch ID
that has that string. I'll go ahead and search.
And when I search, this is going to go out and
find on the PI Server, those repeated events
which are also known as batches or unit batches.
And here are the repeated events that we
found that meet that criteria.
This is the RtBatchView
tabular Web Part here. If I scroll down a little,
you can see there is some nice capability here, not only to
retrieve information.
Like for example, this tells me that I
had a unit batch with that particular batch ID.
The product was large, it was produced in this SCM unit.
And it start at 7:09 and ended at
7:55. So that tells me a lot
about that batch. But it also allows me to provide context
to other Web Parts. So for example, if
you look at our trend down here, that trend is
currently looking at just a specific period of time.
When I click on one of these batches, you've got this
configured such that it has a connection to the trend.
And when I click on batch, it sends that
information over to this trend. So now what we are doing is we are
looking at the data from that specific
unit batch. We are looking at that particular repeated event.
So whether you are making cheese cakes or
pharmaceuticals or whether you are a power generator
that treats each day as a batch
so that you can go back and compare one Saturday to all the
other Saturdays for example. Now at some point
you'd like to look up these batches and compare them to
other batches. Now if you want to learn
more about this, we do have a webinar that you may
be interested in. If you go to the
Show Me How recorded webinar series
that is off of training.osisoft.com
And you look at
the webinar
that is listed as,
here it is, it's called the RtWebParts v2.1 training.
You'll see a lot more information about batches
and a description of the RtBatchTable.
This and all the other webinar series that
you can find available from our webinar
page. And to go to our webinar page, you
simply go to our main website. And within our
main website, choose the option called Events
and Webinars. And from within here, you'll find
the Show Me How
webinar series. And that is where you'll find all these
training webinars.
I'm going to add an RtBatchView
Web Part to this Web Part page. This Web Part Page
has just a couple of RtWebParts on it.
Here is the RtValues Web Part. Here is the RtTrend etc.
Let me go ahead and add RtBatchView.
I go into Site Actions and I'm
going to choose Edit Page. As you see when you
choose edit page, it shows the zones.
And each zone has
a button on it that you can use to add new Web Parts.
I'll go ahead and add this Web Part.
That brings up a list of the Web Parts.
I'm going to bring up the Web Part called
the RtBatchView Web Part. Let me go ahead and scroll down.
We're going to look through all the existing RtWebParts.
Here it is. I'll go ahead and choose
RtBatchView. And I'll click on
Add. And that adds an RtBatchView Web Part.
Now if I
exit out of this
edit mode, I can use
this ilke an end user, just as it is
to search for different types of repeatable events.
Now again, it's not the scope of this class
to go into all the different types of repeated events.
We are going to concentrate on unit batches in this example.
So if I take a look
here, if I just say let's go through all the
unit batches and let's say that
the last two hours, everything that started
within the last two hours. I'll go ahead and search and you'll see
some search results up here.
Not a very discriminating search because it's going to bring up a lot of
stuff that I'm not really interested in. We aren't looking
at our cheese cake factory exclusively yet.
There we go.
So here is our set of results.
And each one of these
is a batch record.
Now we haven't looked at these batches in great
detail. And again, we won't in this class.
But as you can see, each batch record has an ID
and a few attributes like the product that we
were making, the unit in which it was manufactured,
start time and end time etc.
And that's how you do a very simple batch retrieval.
And as you can see the way I've got this configured here,
if I do want to restrict this and let's just look for all
those things from the super cake maker.
Let's go back the last four hours.
Now when I search for that, now it's going to restrict it
to just those batches whose batch ID have
the string SCM. So this is our
cheese cake factory example here.