13.04.2013 Views

DDS - Visu

DDS - Visu

DDS - Visu

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>DDS</strong> – Advanced Training<br />

© All rights with <strong>Visu</strong>-IT! GmbH, also for pending patent applications.<br />

All powers of disposition, such as copying and distribution, from <strong>Visu</strong>-IT!<br />

<strong>DDS</strong> – Advanced Training<br />

Compare Merge<br />

<strong>DDS</strong><br />

Data<br />

Declaration<br />

System<br />

Franz Lohberger<br />

Jun-05<br />

Page: 1


<strong>DDS</strong> – Advanced Training<br />

© All rights with <strong>Visu</strong>-IT! GmbH, also for pending patent applications.<br />

All powers of disposition, such as copying and distribution, from <strong>Visu</strong>-IT!<br />

Compare Merge<br />

Content<br />

Start<br />

Compare Result<br />

Merge Settings<br />

Merge Result<br />

Strong and Weak references<br />

Objectives:<br />

After completing this unit you will:<br />

• know how the Compare Merge works in principle<br />

• be able to use the Compare Merge filter<br />

Franz Lohberger<br />

Jun-05<br />

Page: 2


<strong>DDS</strong> – Advanced Training<br />

© All rights with <strong>Visu</strong>-IT! GmbH, also for pending patent applications.<br />

All powers of disposition, such as copying and distribution, from <strong>Visu</strong>-IT!<br />

Compare Merge<br />

Start of CompareMerge<br />

List of currently open<br />

databases<br />

List of current Option<br />

Settings<br />

Load one or more<br />

GIRL files from disk<br />

for CompareMerge<br />

Load another<br />

database from disk<br />

for CompareMerge<br />

Start CompareMerge<br />

with an open database<br />

as ‘source’ database<br />

Start CompareMerge<br />

using the current filter<br />

options<br />

Franz Lohberger<br />

Jun-05<br />

Page: 3


<strong>DDS</strong> – Advanced Training<br />

© All rights with <strong>Visu</strong>-IT! GmbH, also for pending patent applications.<br />

All powers of disposition, such as copying and distribution, from <strong>Visu</strong>-IT!<br />

Compare Merge<br />

Compare Result<br />

Select entities to<br />

be merged<br />

(selection is<br />

done on GIRL<br />

file level)<br />

Select entities to<br />

be merged<br />

(selection is<br />

done on entity<br />

level)<br />

Destination<br />

Next Step: Define Scope of Merge and press „F9“<br />

Source<br />

List of DB<br />

modules<br />

Entity Attribute<br />

List<br />

Contents of<br />

DB modules<br />

Franz Lohberger<br />

Jun-05<br />

Page: 4


<strong>DDS</strong> – Advanced Training<br />

© All rights with <strong>Visu</strong>-IT! GmbH, also for pending patent applications.<br />

All powers of disposition, such as copying and distribution, from <strong>Visu</strong>-IT!<br />

Compare Merge<br />

Compare Result - Menu<br />

Save the current difference report F2<br />

Save the current settings Ctrl + F2<br />

Save the current settings in a new file shift + ctrl + F2<br />

full text search F3<br />

toggle between F5<br />

display full content<br />

display entity differences<br />

display attribute differences<br />

display list of entites with differences<br />

Hides all entities contained in the<br />

destination but not in source datapool<br />

Hides all entities contained in the<br />

source but not in destination datapool<br />

Hide address attribute F7<br />

Highlit differences in cells<br />

Start merge<br />

toggle between merge result view<br />

beginning of next entity TAB<br />

Franz Lohberger<br />

Jun-05<br />

Page: 5


<strong>DDS</strong> – Advanced Training<br />

© All rights with <strong>Visu</strong>-IT! GmbH, also for pending patent applications.<br />

All powers of disposition, such as copying and distribution, from <strong>Visu</strong>-IT!<br />

Compare Merge<br />

Merge Settings<br />

Entities that exist in the destination<br />

data pool only will be retained<br />

Entities that exist in<br />

the source data pool<br />

only will be ignored<br />

Entities already existing<br />

in the destination data<br />

pool will not be<br />

overwritten<br />

defines the configuration unit<br />

in which merged entities<br />

should be located<br />

defines the configuration unit<br />

in which newly added entities<br />

from the source should be<br />

located<br />

Overview of merge<br />

result<br />

Franz Lohberger<br />

Jun-05<br />

Page: 6


<strong>DDS</strong> – Advanced Training<br />

© All rights with <strong>Visu</strong>-IT! GmbH, also for pending patent applications.<br />

All powers of disposition, such as copying and distribution, from <strong>Visu</strong>-IT!<br />

Compare Merge<br />

Merge Result<br />

All entities could<br />

be merged<br />

without any<br />

problems<br />

3 entities which<br />

were out of the<br />

scope of the merge<br />

are merged<br />

nevertheless since<br />

they are referenced<br />

from other merged<br />

entities<br />

Modified Destination<br />

(but only in memory)<br />

Next Step: To commit the merge press „F9“<br />

Franz Lohberger<br />

Jun-05<br />

Page: 7


<strong>DDS</strong> – Advanced Training<br />

© All rights with <strong>Visu</strong>-IT! GmbH, also for pending patent applications.<br />

All powers of disposition, such as copying and distribution, from <strong>Visu</strong>-IT!<br />

Compare Merge<br />

Strong and Weak references<br />

• Strong references include, for example:<br />

– References between a map and its associated axes,<br />

– References between typedef chains,<br />

– References between an array and an enum<br />

• To prevent structural impact on the destination data pool, definitions have to<br />

be excluded from the merge if they contain a strong (mandatory) reference<br />

to a "missing" entity. This is necessary in cases such as:<br />

– Map - axis is referenced but missing<br />

– Instances - element type is referenced but missing<br />

– Instances - memory type is referenced but missing<br />

– Struct / union instance - struct / union type is referenced but missing<br />

– Arrayed instances or structure type - #define is used as array index but<br />

missing<br />

• Weak references include, for example:<br />

– The reference of an online instance and its format string<br />

• Weak references can easily be discarded during the merge because their loss<br />

has no significant impact on the destination data pool.<br />

Franz Lohberger<br />

Jun-05<br />

Page: 8


<strong>DDS</strong> – Advanced Training<br />

© All rights with <strong>Visu</strong>-IT! GmbH, also for pending patent applications.<br />

All powers of disposition, such as copying and distribution, from <strong>Visu</strong>-IT!<br />

Compare Merge<br />

Miscellaneous<br />

How to delete a configurationUnit ?<br />

Configuration Units (GRL files) can be deleted by:<br />

• either merging an empty GRL file into the database<br />

• or by using the new “Delete ConfUnit” functionality of<br />

V4.1.0Update1<br />

Using CompareMerge in command line<br />

- Compare two databases and generate a difference file in *.htm<br />

Franz Lohberger<br />

Jun-05<br />

Page: 9


<strong>DDS</strong> – Advanced Training<br />

© All rights with <strong>Visu</strong>-IT! GmbH, also for pending patent applications.<br />

All powers of disposition, such as copying and distribution, from <strong>Visu</strong>-IT!<br />

Compare Merge<br />

Summary<br />

__________________________________________________<br />

__________________________________________________<br />

__________________________________________________<br />

__________________________________________________<br />

__________________________________________________<br />

__________________________________________________<br />

__________________________________________________<br />

__________________________________________________<br />

__________________________________________________<br />

__________________________________________________<br />

__________________________________________________<br />

__________________________________________________<br />

__________________________________________________<br />

__________________________________________________<br />

__________________________________________________<br />

__________________________________________________<br />

__________________________________________________<br />

Franz Lohberger<br />

Jun-05<br />

Page: 10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!