Admin Production ni-theme
Current Publication

Network Variable Library Error Codes

LabWindows/CVI

Network Variable Library Error Codes

The Network Variable Library functions return negative values when they detect errors. The following table lists the error codes, defined constants, and error messages associated with functions in the the LabWindows/CVI Network Variable Library.

Use the CNVGetErrorDescription function to convert the error code, returned in the status parameter of Network Variable Library functions, into meaningful error messages.

Error codes are defined in the cvi\include\cvinetv.h file.

Value Defined Constant Error Message
–6331 CNVInvalidFolderNameError Folder name is invalid
–6332 CNVInvalidPathError Path is invalid
–6333 CNVNotAStructError Data is not a struct
–6334 CNVNotAScalarError Data is not a scalar
–6335 CNVSubscribeFailedError The subscription to this network variable failed
–6336 CNVResolveURLFailureError URL could not be resolved for this network variable
–6337 CNVProcessFailureError The network variable process was not found or is not responding
–6338 CNVServiceLookupFailureError Service lookup failed for the server
–6339 CNVHostUnreachableError The server is not reachable
–6340 CNVDNSFailureError DNS lookup failed for the server
–6341 CNVCouldNotRegisterMachineError Could not register machine
–6342 CNVNotSupportedInCallbackError Not supported when thread is in a network variable callback function
–6343 CNVNotSupportedOnRealTimeError Not supported on real-time systems
–6344 CNVEmptyDataError Data is empty
–6345 CNVWaitTimeElapsedError Could not complete operation in specified time
–6346 CNVInvalidConnectionAttributeError Connection attribute is invalid
–6347 CNVMissingDataAttributeError Data attribute is not available
–6348 CNVInvalidArraySizeError Array size is invalid
–6349 CNVNotAnArrayError Data is not an array
–6350 CNVInvalidNumberOfDimensionsError Number of dimensions is invalid
–6351 CNVInvalidBrowserHandleError Browser handle is invalid
–6352 CNVInvalidDataHandleError Data handle is invalid
–6353 CNVInvalidConnectionHandleError Handle is invalid
–6354 CNVInvalidDataTypeError Data type is invalid
–6355 CNVAttributeAccessError Failed to get or set attribute
–6356 CNVInvalidAttributeValueError Attribute value is invalid
–6357 CNVUnknownAttributeNameError Could not recognize the attribute name
–6358 CNVIPResolveError Could not resolve IP address from gethostbyname
–6359 CNVHostResolveError Could not resolve host name
–6360 CNVAlarmDisabledError Disabled event or alarm was activated
–6361 CNVWriteAccessDeniedError Write access was requested and denied
–6362 CNVReadAccessDeniedError Read access was requested and denied
–6363 CNVProcessServerDownError Process server has shut down
–6364 CNVItemDoesNotExistError Item does not exist
–6365 CNVThreadInitFailedError Thread initialization failed
–6366 CNVProcessManagerDownError Process manager server is not available
–6367 CNVInvalidPointNameError Point name is invalid
–6368 CNVInvalidProcessNameError Process name is invalid
–6369 CNVInvalidMachineNameError Machine name is invalid
–6370 CNVInvalidNetworkVariableNameError Network variable name is invalid
–6371 CNVNoWriteAccessError Cannot write to read-only item
–6372 CNVBufferFullError Buffer is full
–6373 CNVAlreadySubscribedError User is already subscribed
–6374 CNVNetworkDataError Data retrieved from the network is incorrect
–6375 CNVNoMoreEntriesError There are no more data points to return from this query
–6376 CNVCacheOverflowError Cache overflow
–6377 CNVNetworkError Unspecified network error
–6378 CNVWriterExistsError Writer already exists
–6379 CNVLogosStartupError Logos sockets failed to start up
–6380 CNVConnectingError Socket timed out while trying to connect to peer
–6381 CNVNoSuchServiceError Service could not be resolved to a port address
–6382 CNVDisconnectedError Socket has been disconnected by its peer
–6383 CNVNoSuchNameError Name could not be resolved to a network address
–6384 CNVConnectedError Already has an input connection
–6385 CNVInvalidObjectError Object is not valid or does not exist any more
–6386 CNVNotFoundError Item not found
–6387 CNVContextError Command not allowed in this particular context
–6388 CNVDuplicateError Duplicate item or name already exists
–6389 CNVInvalidPacketError Packet is invalid
–6390 CNVPendingError Data necessary to complete this operation is not yet available
–6391 CNVAccessDeniedError A general access denied error occurred
–6392 CNVOperationAbortedError Operation was aborted
–6393 CNVInvalidArgumentError Argument is invalid
–6394 CNVOutOfMemoryError Could not allocate memory
–6395 CNVNotImplementedError Required feature is not available
–6396 CNVUnexpectedError Unexpected error occurred
–6397 CNVCouldNotCreateMutexError Could not create a required mutex
–6398 CNVInvalidLibVersionError Version of network variable DLL is incorrect
–6399 CNVLibCouldNotBeLoadedError Could not load network variable DLL