SubtractCVIAbsoluteTimes
int SubtractCVIAbsoluteTimes (CVIAbsoluteTime absoluteTime1, CVIAbsoluteTime absoluteTime2, CVITimeInterval *result);
Purpose
Subtracts the second absolute time value from the first absolute time value and returns the resulting time interval value.
Time interval values can be negative values.
Parameters
Input | ||
Name | Type | Description |
absoluteTime1 | CVIAbsoluteTime | Absolute time value in National Instruments Binary Time Format. |
absoluteTime2 | CVIAbsoluteTime | Absolute time value in National Instruments Binary Time Format. |
Output | ||
Name | Type | Description |
result | CVITimeInterval | The result of the calculation, as a time interval value in National Instruments Binary Time Format. |
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