GetViReal64Type

IVI Library

Ivi_GetViReal64Type

Usage

ViStatus Ivi_GetViReal64Type(ViReal64 viReal64Value, ViInt32* viReal64Type);

Purpose

Obtains the type of a ViReal64 value.

Parameters

Name Type Description
viReal64Value ViReal64

Specify the ViReal64 value for which you want to determine the type.

viReal64Type ViInt32*

Returns the type of the ViReal64 value you specify.

(0)IVI_VAL_TYPE_NORMAL-normal value
(1)IVI_VAL_TYPE_NAN-Not a Number (NaN)
(2)IVI_VAL_TYPE_PINF-positive infinity
(3)IVI_VAL_TYPE_NINF-negative infinity

Return Value

Contains the status code that the function call returns. IVI engine functions can return error and warning values from several sets of status codes. Some status codes are unique to the IVI engine. Other status codes are the same codes that VISA Library functions return. Still others are error or warning values that functions in specific instrument drivers return. Each set of status codes has its own numeric range.

Regardless of the source of the status code, 0 always indicates success, a positive value indicates a warning, and a negative value indicates an error.

Related Topic

IVI Status Codes