Back Next

 

Using LVC_Diff:  How To Call

 

Under normal conditions

LVC_Diff is activated by your SCC program when you are trying to find the difference between two versions of a file under source code control.  Typically SCC programs will allow an external diff program to be configured to show the differences for specific file types.   Consult your SCC program's help to find out how to enable and configure the external diff program.  Then use the information below to set up the arguments.

 

Command line Interface

LVC_Diff.exe accepts two command line arguments which are the paths to the files with a valid LabVIEW file types* that are to be compared.  If the LabVIEW file extension is a template (*.vit or *.ctt) LVC_Diff will open the templates for editing.  If the paths include two files with the same name, then one of the files will copied to a temporary directory and renamed so both files can be in memory for the comparison.

All valid file types (except Library *.llb)

..\path\to\..\LVC_Diff.exe <path to file 1> <path to file 2>

If a directory in the path contains spaces, you must enclose the path in quotation marks, as shown in the following example:

"C:\Program Files\DataAct\LabVIEW Version Chooser\LVC_Diff.exe" "c:\cool application\mycool.vi"  "c:\cool application\old version\mycool.vi"


*SCC programs may rename files with the version number or some other text as the extension, but LVC_Diff will ignore the erroneous extension and retrieve the correct version as long as the file is a valid LabVIEW file type.

Copyright 2005 DataAct Incorporated.  All rights reserved.