Owning Palette: Source Control VIs
Requires: Professional System
Returns the difference between the specified file and, by default, the latest version of the file in source control.
Add to the block diagram | Find on the palette |
advanced options is reserved for internal use. | |||||||||
source control reference in contains a reference to the source control project configured in LabVIEW. The source control reference must be a valid reference created with the SCC Open SCC Project VI. | |||||||||
file path specifies the path to the file the VI uses for comparison. | |||||||||
compare method specifies the way in which the VI performs a comparison on the files. If you select contents, checksum, or time, the comparison is silent, which means the VI does not return data in a dialog box. Checksum and time comparisons are faster but less detailed comparison methods than contents comparison.
|
|||||||||
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |||||||||
compare options specifies whether to modify the comparison to include case sensitivity and white space. Not all source control providers support this parameter.
| |||||||||
version specifies the version of the file you want to compare. The default is an empty string. If the string is empty, the VI compares the latest version of the file. Not all source control providers support this parameter. The syntax for this parameter varies for each provider. Refer to the source control provider documentation for more information about version syntax. | |||||||||
file differs? returns TRUE if the specified file differs from the version in source control, based on the compare method you select. | |||||||||
source control reference out returns source control reference in unchanged. | |||||||||
status message returns the results of the comparison if the VI performed a silent comparison method. Depending on the source control provider, the output might include status information or non-critical error messages. | |||||||||
error out contains error information. This output provides standard error out functionality. |
This VI treats files either as text or binary. Depending on the source control provider you use, the VI displays the differences in a dialog box or returns them in the status message output. Use the SCC Compare VIs VI to compare LabVIEW file types, such as VIs, controls, or global variables.