CNVGetDataQualityDescription
- Updated2023-02-21
- 2 minute(s) read
CNVGetDataQualityDescription
int CNVGetDataQualityDescription (CNVDataQuality quality, const char *delimiter, char **description);
Purpose
Gets the textual description of the quality of the data.
Parameters
Input | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
quality | CNVDataQuality | The quality of data. The quality value can be one of the following values or a bitwise OR-ed combination of two or more of the following values. The quality value is zero if you do not set any of the following bits.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
delimiter | const char * | The string to use as the delimiter between different quality fields. If you pass NULL or an empty string, the Network Variable Library uses a semicolon as the default delimiter. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Output | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
description | char * | The description of the specified quality. You must free this string using CNVFreeMemory. |
Return Value
Name | Type | Description |
status | int | Return value indicating whether the function was successful. One indicates that a next item was found, zero indicates that a next item was not found, 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 CNVGetDataQualityDescription function.