CVITimeIntervalFromSeconds
int CVITimeIntervalFromSeconds (double seconds, CVITimeInterval *interval);
Purpose
Converts seconds to a time interval value.
Parameters
| Input | ||
| Name | Type | Description |
| seconds | double | Double-precision number representing a time interval in seconds. You can specify only values between -LLONG_MAX and LLONG_MAX. LLONG_MAX is the largest 64-bit signed integer value that can be represented. |
| 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