Admin Production ni-theme
Current Publication

CNVGetErrorDescription

LabWindows/CVI

CNVGetErrorDescription

const char *CNVGetErrorDescription (int errorCode);

Purpose

Returns the error message associated with the Network Variable Library error code specified in the errorCode parameter.

Parameters

Input
Name Type Description
errorCode int An error code returned by a Network Variable Library function.

Return Value

Name Type Description
errorDescription const char * The error message associated with the error code. Do not modify or free this string.

Additional Information

Library: Network Variable Library

Include file: cvinetv.h

LabWindows/CVI compatibility: LabWindows/CVI 8.1 and later

Examples

Refer to the following examples that use the CNVGetErrorDescription function:

  • networkvariable\Polling\NVPolling.cws

    Open example
  • networkvariable\Publisher\NVPublisher.cws

    Open example