 |
ALPHA-VISION® visuNT: Import from VisuNT
|
Import from VisuNT
SUMMARY
To modify an existing project using the AvET it must be imported.
CONTENTS
- Introduction
- Procedure
- How it works
- Result
Introduction
In VisionNT Data Objects and according information are stored in dbf-Tables.
To modify them via the AvET they must be imported to the xml-based
environment of the AvET.
Strongly recommended
- Import ALWAYS a COMPLETE PROJECT, since information is distributed
differently in dbf-Tables and in the xml-environment of the AvET.
- Create an entirely new AvET project to import to.
- Take a backup copy of the original project prior to import.
WARNING
Except for the Project File (*.prj.xml) an import of dbf-Tables deletes all
xml-files in the selected target directory for the import.
The deletion is done recursively, i.e. all subfolders and its contents are
deleted.
Procedure
In the toolbar click the icon “Data import from VisuNT tables”
A warning is displayed about deleting files; if accepted a dialog window
opens and ask for the following criteria:
- Sourcedirectory:
Path to the directory where the dbf-tables can be found.
- Destinationdirectory:
Path to the directory where the xml-files should be stored at.
Note:
In order to access the imported files the destination directory must be a
subfolder of the project folder.
In the shown checkboxes the option “All” is ticked, all other options are
for rarely exceptions only. We strongly recommend to keep the default
setting, since the partially import of files usually leads to inconsistency
of the project.
How it works
The function converts the dbf-tables from VisionNT and stores the
information in the AvET Project. The progress of the import is displayed
in the output window and also written to the ImportDbfs.log file.
Aside of 4 variances the created AvET files correspond with the files of
the VisuNT-Project:
- The status of MPs is no longer part of the MP itself, but kept as
its own class that is referenced by the MP.
- Multiple language texts are no longer kept in tables, but stored as
Multi-Language strings.
- Process Objects are obsolete and on import converted into Process
Variables
- Since currently the AvET does not support any editor, only picture
lists are created
Note:
Due to the more strictly naming conventions in the AvET impermissible
characters in names of the VisuNT Objects are converted when imported to
AvET. Any conversion of names is documented in the “ImportDbfs.log” log file.
Replacement for impermissible Characters:
| Character |
replaced by |
| & |
A |
| ) |
C |
| = |
E |
| # |
F |
| ° |
G |
| , |
K |
| \\ |
L |
| - |
M |
| space |
N |
| ( |
O |
| + |
P |
| / |
R |
| * |
S |
| @ |
T |
| % |
Z |
Result
In the destination folder the log file "ImportDbfs.log" is created, any
information according the import is written to it.
The following files and subfolders are created in the destination folder
for the import; where the number of files and folders may vary according
to the imported project:
After any import a Object Number Generation must be initiated !