CompareCVITimeIntervals
int CompareCVITimeIntervals (CVITimeInterval interval1, CVITimeInterval interval2, int *result);
Purpose
Compares two time interval values and returns 0 if they are equal, -1 if the first value is less than the second value, and 1 if the first value is greater than the second value.
Parameters
Input | ||
Name | Type | Description |
interval1 | CVITimeInterval | Time interval value in National Instruments Binary Time Format. |
interval2 | CVITimeInterval | Time interval value in National Instruments Binary Time Format. |
Output | ||
Name | Type | Description |
result | int | The result of the comparison. The function returns 0 if the first value is equal to the second value, -1 if the first value is less than the second value, and 1 if the first value is greater than the second value. |
Return Value
Name | Type | Description | |||||||||||||||||||||
status | int | The result of the function call. Negative values represent errors. The following table describes the results that this function returns.
|
Additional Information
Library: Utility Library
Include file: utility.h
LabWindows/CVI compatibility: LabWindows/CVI 9.0 and later