AddToCVIAbsoluteTime
int AddToCVIAbsoluteTime (CVIAbsoluteTime absoluteTime, CVITimeInterval interval, CVIAbsoluteTime *result);
Purpose
Adds a time interval value to an absolute time value and returns the resulting absolute time value.
You can pass the same variable to absoluteTime and result to increment the value.
Parameters
Input | ||
Name | Type | Description |
absoluteTime | CVIAbsoluteTime | Absolute time value in National Instruments Binary Time Format. |
interval | CVITimeInterval | Time interval value in National Instruments Binary Time Format. |
Output | ||
Name | Type | Description |
result | CVIAbsoluteTime | The result of the calculation, as an absolute time 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