ISIS Application Documentation
Compare two control networks
Description
This program will compare two control network files.
The purpose of this program is for application tests that output a control
network formatted file, to be able to compare binary control networks with
tolerances in numerical values of keywords.
Note: This application only checks the ControlNet
keywords Network ID and Target Name, other keywords for the network, such
as UserName and Description, are not compared. For points and measures,
the DateTime keyword is always ignored.
Categories
History
Steven Lambright | 2010-10-19 |
Original version
|
Christopher Austin | 2011-01-18 |
Altered to compile with the new Control redesign.
|
Jeannie Backer | 2011-07-27 |
Added documentation.
|
Travis Addair | 2012-04-26 |
Added REPORT radio button allowing users to select the FULL option and get
a complete PVL report of all differences between two networks.
|
Jesse Mapel | 2016-03-29 |
Added missing "]" in results message. Error messages are now complete sentences. Fixes #3871.
|
|
Parameter Groups
Files
Name
|
Description
|
FROM |
Input Control Network File 1
|
FROM2 |
Input Control Network File 2
|
DIFF |
Input tolerance file
|
TO |
Differences
|
REPORT | How verbose the output report should be |
|
Files:
FROM
Description
Type
| filename |
File Mode
| input |
Filter
|
*.net *.bin
|
Files:
FROM2
Description
Type
| filename |
File Mode
| input |
Filter
|
*.net *.bin
|
Files:
DIFF
Description
This is used to specify tolerances between the two input files. If
this file is not specified, the two control network files must match
exactly except for date/times.
Type
| filename |
File Mode
| input |
Internal Default
| None |
Filter
|
*.net.DIFF
|
Files:
TO
Description
This will output the differences to a text file.
Type
| filename |
File Mode
| output |
Internal Default
| None |
Filter
|
*.txt *.pvl
|
Files:
REPORT
Description
By default, this application will report the first difference in
encounters between the two network (FIRST). This is primarily used
for application testing by developers. Users can make use of this
application to report a full listing of differences between two
networks (FULL).
Note that, at present, this option will only consider the first
value of a keyword. It does not compare lists of values or units.
Type
| string |
Default
| FIRST |
Option List:
|
Option |
Brief |
Description |
FIRST | Only report the first difference |
Used by automatic application tests to report differences between
two networks, only processing to the first difference for
performance reasons.
|
FULL | Report the full listing of all differences |
Users can use this option to get a full list of all the
differences between two networks, organized in a PVL structure.
Each keyword will have up to three values: the first being the
value from the first network, the second the value from the second
network, and the third the tolerance that failed (if provided).
|
|