VI User Manual - 第256页

Tools library 7 - 94 Vision 2007 4.10 User Manual Re v 01 7.16 Shared library 7.16.1 Description and purposes From Vision 2007 softwar e, libraries can be used in a sharing mode to allow multi-users to edit models. The s…

100%1 / 412
Tools library
Vision 2007 4.10 User Manual Rev 01 7 - 93
Click on
Test
button to apply all the in-
spection parameters to the model, then
a red box representing the tool’s search
area will appear in the camera window.
Score
(
A
): score of the
tested tool (rate of detec-
tion success).
dX & Y (mm)
(
B
): posi-
tion in X and Y of the
model found with re-
spect to the center of the
model’s encompassing area.
Cntr
(
C
): contrast relative to the trained model.
Time (ms)
(
D
): inspection time.
If the tool finds a result, it will
display a green cross and a
green box.
BA C D
Search
Tools library
7 - 94 Vision 2007 4.10 User Manual Rev 01
7.16 Shared library
7.16.1 Description and purposes
From Vision 2007 software, libraries can be used in a sharing mode to allow multi-users to
edit models.
The system will allow sharing the model files from a server and controlling the edition to
avoid that several users edit a model file at the same time.
There are 2 main purposes for this system:
Share efficiently the library files
Maintain the history of all modifications on each of the individual models inside the library.
The file share will be done using a client / server architecture. This way the operator can ask
for the latest version of any library or model inside a library in one simple operation. When
a user wants to change one model he can activate the edit mode, locking the file only to him-
self, making sure that his changes will not be discarded. While one operator edits and
changes one model no other user can change the same model, but its last version will be
available for read operations.
A list of all modifications to a model will be available; the operator can choose from it which
version to work with. Also a list of global tags will be available, allowing the recovering of all
models from a library in a particular date.
The file server will control all data synchronization and modification, but the working files will
be located in a working folder in the local PC. If the server can not be contacted the operator
will be informed and will be asked if he wants to work locally. When an operator works locally
all changes to the models will also be local and will be discarded the next time he connects
to the file server.
7.16.1.1 Configure the library
1.
After the Vision 2007 installation on the AOI, the following files must be located
in
C:\VIT folder to have the Work with file server option available:
CVS.exe (this is the client interface to access to the server)
FileSharingManager.dll
TortoiseInt.dll (Vision 2007 uses this dll to start CVS.exe application)
Refer to the document install-cvsnt.doc for the server installation and configura-
tion procedure.
Server
CVSNT.exe
Client
CVS.exe
Client/Server
Vi-2006
FileSharingMgr.dll
Server
CVSNT.exe
Client
CVS.exe
Client/Server
Vi-2006
FileSharingMgr.dll
Vision 2007
Tools library
Vision 2007 4.10 User Manual Rev 01 7 - 95
2. Launch Vision 2007. Make sure all your libraries can be opened with this version
and have the compatible format.
3. Go to Maintenance/Parameters/File Sharing menu.
4. Tick Work with file server to select a library .bm file on the file server and use it
locally on an AOI system.
5. Fill the field File server network name accordingly.
6. Fill the field Local directory path. This path indicates to the system where to
copy the library on the client hard disk.
When using the library in share mode, the system will create a read only copy on
the client hard disk in the specified folder.
If you open a library created with a previous version, it will be automatically
converted to the new format and a backup will be created (remove the
work with file server option from maintenance/parameters/File shar-
ing to be able to open a non-shared library).
A copy of the used .bm is made on the AOI sytem and when a modification
is saved, this one is made locally and on the file server.
During the use of a .bm file by a first AOI system, models of this .bm file
could be only read and not modified by the other AOI systems.
Example
:pserver:cathy2:/CVSrep
:pserver: is the protocol name used
cathy2: is the server name
/CVSrep is the repository name
It is recommended to use a different location for the local copy of the
shared library than the others library that you do not want to share.
Shared library