There are a number of different ways to
find and edit Batches in
the PI System, but probably the easiest
one would be the Batch Database Editor in SMT.
It's found under Batch
in the plug-ins and it's just called BatchDatabase.
And, it allows you to do a number of things
with the Batches. You can Search for Batches
and UnitBatches, and you can even create Batches and
UnitBatches. There's a Results
Panel that we will see in a moment. And,
you could even edit the, edit the Batches as you see
fit. Let's look at how to do some basic
Searches first. I will select the PI Server,
and you can see at the top, there's a Search for PIBatch
and a Search for PIUnitBatch. If you select either
one of these, wild cards will be in all
the fields, and the Default Start Time is
Now minus one day, and an End Time of Now.
So, you are going to see all the, all the Batches
that were run today. And, if I click OK,
that's exactly what I see in the
area below. I can see the little
Expand Icon there and all of
my Batches that I have run today are exposed
here. Now, let's say I want to just find
the Batches that ran on
my Pulp Line, okay?
So I can see that it -- I have Pulp_BID.
So I can, I can do another
PIBatch Search, and I can search for
Pulp
_BID and an *,
and I can click OK. And I can see
that that's narrowed it down to 43. I have 43
Values here. But, what if I only want to see
Line1. You will notice that here I --
my Pulp_BID1201
is, is looking at Line1,
but I have also got Line2 here. I have got my
Digest2 and my ChipScreener2,
so I would like to find out
only what's going on in Line1. So I need
to figure out something else about that, about
that Search. And, if I go to
do a new Search, you can see that under PIBatch
I can either specify Batch ID, Product or
Recipe. Well, the easiest thing for me to do is going to
put a Dash 1, because that will show me
all of the PIBatches
that have the 1 Front that was common to those.
Now, if I had used a Product or Recipe
in those that I could have identified, I could have Searched
on those as well. That's the PIBatch
Search. I can also go
into a UnitBatch Search, and I get much the same,
much the same type of information.
In this case, if I only want to see stuff from my
Digester 1,
I can just put in Digester 1
and Search. And -- oh, I got
No Searches. Did I -- let's put --
[typing]
I think I forgot my space. Digester 1. Yes.
There we go. And you can see all the Batches
that involve Digester 1. Now, if there's
something that you needed to change about this Batch -- maybe
it did not get recorded right, maybe it's part
of a different PIBatch. I can associate
that with a different PIBatch by doing a Search.
I can change the Start Time and
End Time or the Procedure. The only -- about the only
you cannot change are the --
anything that's System-assigned like the SubBatches, Unique ID,
Server Name, things of that nature.
So, let's say for this one, I want to go and change this
to an End Time of 6:07.
We will just change that to
6:07, we will hit Save, and
that Batch has been edited. Keep in mind, I am also
logged in as the Administrator, so I do have the security
requirements for that as well.
In the Search Results Field, be very careful here because
there's a Remove Search Results Button.
That looks like a magnifying glass with a red X. But
if you have an individual UnitBatch selected,
you can actually remove it here by hitting the Delete Button,
so you need to be very careful. You do not want to remove Batch
records. Also, you can use this panel
to insert Batches if you have somehow
missed one or, or done that. So, you can
add a PIBatch at this Level, or you can drill down
and find a PIUnit and add a
UnitBatch for that particular Unit.