CVITimeIntervalFromTimeUnit
int CVITimeIntervalFromTimeUnit (CVITimeUnit unit, __int64 value, CVITimeInterval *interval);
Purpose
Converts the specified time unit value to a time interval value.
Parameters
Input | ||||||||||||||||||||||||||
Name | Type | Description | ||||||||||||||||||||||||
unit | CVITimeUnit |
The time unit of the argument you pass to the value parameter. You can specify the following values:
CVITimeUnitBase is defined as 919263177UL - 48UL. |
||||||||||||||||||||||||
value | __int64 | The value of the time interval in the specified units. | ||||||||||||||||||||||||
Output | ||||||||||||||||||||||||||
Name | Type | Description | ||||||||||||||||||||||||
interval | CVITimeInterval | 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