LabWindows/CVI Real-Time Module

Real-Time Utility Library Error Codes

  • Updated2023-02-21
  • 4 minute(s) read

If an error condition occurs during a call to any of the functions in the LabWindows/CVI Real-Time Utility Library, the status return value contains the error code. This code is a nonzero value that specifies the type of error that occurred. Error codes are negative numbers. The following table lists the currently defined error codes and their associated meanings.

Error codes are defined in cvi\include\rtutil.h.

Code Defined Constant Error Message
0 kRTNoError No error.
-15200 kRTShouldNotBeCalledOnHost This function is supported only on real-time systems.
-15201 kRTShouldNotBeCalledOnTarget This function is not supported on real-time systems.
-15202 kRTBadlyFormedIP Badly formed IP address.
-15203 kRTBadlyFormedMAC Badly formed MAC address
-15204 kRTTargetNotFound Target not found.
-15205 kRTInvalidAddressType Invalid address type specified.
-15206 kRTInvalidIPSetting One or more IP settings were invalid.
-15207 kRTInvalidSettingType Unknown setting type.
-15208 kRTInvalidSettingValue Invalid value passed.
-15209 kRTSystemNotOnLocalSubnet The target system must be on the local subnet.
-15210 kRTOperationNotSupported Operation not supported by the remote system.
-15211 kRTTimeout Operation timed out.
-15212 kRTRemoteSystemResponseError The remote system did not respond or gave an unexpected response.
-15213 kRTRemoteOperationFailure An operation on the remote system failed.
-15214 kRTSystemNotConfigured The remote system's IP settings are not configured.
-15215 kRTNotInSafeMode The remote system must first be booted into safe mode. This may require using a safe-mode boot disk, changing a BIOS setting, or setting a DIP switch on the controller.
-15216 kRTSafeModeBootFailure The remote system failed to boot into safe mode.
-15217 kRTRebootError The remote system failed to reboot.
-15218 kRTSystemLocked System is locked.
-15219 kRTIncorrectPassword Incorrect password.
-15220 kRTUnsupportedOption A specified option is unrecognized or not supported by the function.
-15221 kRTGetFilesFailure One or more files could not be copied from the target. The image is incomplete.
-15222 kRTPutFilesFailure One or more files could not be copied to the target. The target may not boot properly or may be otherwise corrupted.
-15223 kRTInvalidImage The specified path does not contain a valid image.
-15224 kRTIncompatibleImage The specified image is incompatible with the target.
-15225 kRTSystemImageMismatch This image was not originally created from the specified target.
-15226 kRTNullPointer Null pointer was passed.
-15227 kRTFailedToLoadDLL A required DLL failed to load.
-15228 kRTIncompatibleDLLVersion A required DLL is of an incompatible version.
-15229 kTraceNotSupported Execution tracing is not supported on this platform.
-15230 kTraceNotInProgress You can call this function only during execution tracing.
-15231 kTraceInProgress An execution trace is in progress.
-15232 kTraceFileWriteError The execution trace could not be written to the file.
-15233 kTraceFileReadError The execution trace could not be read from the file.
-15234 kTraceFileSendError The execution trace could not be sent to the Real-Time Trace Viewer. Ensure that the Real-Time Trace Viewer is running on the host computer and that the host computer is connected to the network.
-15235 kTraceInvalidEventID The event ID is invalid.
-15236 kRTOutOfMemory Out of memory.
-15237 kRTNetworkError General network error.
-15238 kRTInternalError Internal error.
-15239 kRTGeneralError Unclassified error.
-15240 kRTUnknownError Unknown error.
-15241 kInvalidProcessorPoolId Invalid processor pool ID.
-15242 kSystemPoolMustIncludeFirstProcessor The system pool must include the first processor.
-15243 kMaskContainsNoValidProcessors The processor mask contains no valid processors.
-15244 kMaskContainsInvalidProcessors The processor mask contains invalid processors.
-15245 kProcessorIndexSpecifiesInvalidProcessor The processor index specifies an invalid processor.
-15246 kOperationNotSupportedOnSingleProcessorSystems Operation not supported on single processor systems.
-15247 kWDFailedToLoadNIWatchdogLibrary The watchdog library could not be loaded. Ensure that NI Watchdog support is installed on the target computer.
-15248 kWDInvalidParameter Invalid parameter.
-15249 kWDInvalidAttribute Invalid attribute.
-15250 kWDInvalidWatchdogHandle Invalid watchdog handle.
-15251 kWDMultipleWhackInputSourcesNotSupported Multiple whack input sources are not supported.
-15252 kWDUnexpectedError Unexpected watchdog error.
-15253 kWDNumberTooBig Unable to return a value because it would exceed the width of the return data type.
-15254 kWDWatchdogIsLocked This watchdog timer has been locked. No further changes can be made to the watchdog hardware until the system restarts.
-15255 kWDCannotConnectToKernel The kernel portion of the watchdog driver is not present or failed to load correctly. Watchdog hardware cannot be used.
-15256 kWDUnsupportedProtocol This watchdog timer cannot drive the specified trigger line in the requested manner. Not all watchdog hardware can drive trigger lines in all possible ways.
-15257 kWDHardwareInUse The watchdog hardware you requested is already in use or has been locked.
-15258 kWDUnsupportedTriggerLine This watchdog timer cannot drive the specified trigger line. Not all watchdog hardware can drive all trigger lines.
-15259 kWDOutOfMemory A memory allocation by the watchdog driver failed. Check available memory and disk space.
-15260 kWDTooManyActions The specified action cannot be added to the watchdog timer. Some actions can only be added once and others can only be added a maximum number of times.
-15261 kWDPALFailure The watchdog driver has experienced an unexpected low-level error. The watchdog hardware cannot be used.
-15262 kWDHardwareNotPresent The watchdog hardware you requested is either not in the system or has not been registered with the driver.
-15263 kWDUnsupportedParamAction The specified action cannot be handled by this watchdog hardware.
-15264 kWDUnsupportedAttribute The specified attribute is not supported by this watchdog hardware.
-15265 kWDFeatureNotSupported The specified method or attribute is not supported by this watchdog hardware.
-15266 kRTFileNotFound File not found.
-15267 kRTInvalidModuleId Invalid module ID.
-15268 kRTSymbolNotFound Symbol not found.
-15269 kRTFailedToLoadModule Failed to load module. Verify that all dependencies of this module are present on the system.
-15270 kRTSystemError System error.
-15271 kRTInvalidParameter Invalid parameter.
-15272 kRTUnsupportedLedId The specified LED ID is not supported on this system.
-15273 kRTUnsupportedLedIdOrState The specified LED ID or LED state is not supported on this system.
-15274 kRTUnsupportedSwitchId The specified switch ID is not supported on this system.

Log in to get a better experience