VI User Manual.pdf - 第257页
Tools library Vision 2007 4.10 User Manua l Rev 01 7 - 95 2. Launch Vision 200 7. Make sure all your librar ies can be opened with this vers ion and have the compa t ible format. 3. Go to Maintenance/Parameters/File Shar…

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

Tools library
7 - 96 Vision 2007 4.10 User Manual Rev 01
7. Click on the button => to initialize the connection and refresh the screen.
8. Tick Ask Edit or View to have a message which ask you if you want edit or just
view a model when you open a model (see below
7.16.2.4 View model and
7.16.2.5 Edit a model).
9.
Click on the button Add new library to define the library that will be used in
shared mode.To add a library on the server, it must be have the good format.
10.
The list of the models included in the library is displayed.
When you click on OK, the library is removed from its previous location and includ-
ed on the server repository with the new format.
11. The configuration is complete! The library can be used in shared mode.
7.16.2 Using the shared library
7.16.2.1 Open a library
The application contacts the server to obtain a library list.
This library will be removed from its original location and converted to the
shared mode format on the server. So, it is recommended to backup the
library before adding it in the list of the shared libraries.
A non blocking error message ap-
pears. It is related to icons display
on the CSV application. Click OK
to continue.
If you remove some models to not be available in the shared library they
will be lost.
Do not modify the format of the created files on the server.
Shared library