CNVGetDataQuality
int CNVGetDataQuality (CNVData data, CNVDataQuality *quality);
Purpose
Gets the quality of data.
Parameters
Input | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data | CNVData | The handle that identifies the network variable data. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Output | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
quality | CNVDataQuality | The quality of the data. The output value can be one of the following values or a bitwise OR-ed combination of two or more of the following bit flags.
|
Return Value
Name | Type | Description |
status | int | Return value indicating whether the function was successful. Zero represents successful execution, one indicates that the data does not have quality information, and a negative number indicates that an error occurred. You can call CNVGetErrorDescription to obtain a string that describes the error. |
Additional Information
Library: Network Variable Library
Include file: cvinetv.h
LabWindows/CVI compatibility: LabWindows/CVI 8.1 and later
Example
Refer to networkvariable\Quality\NVQuality.cws for an example of using the CNVGetDataQuality function.