Status Codes

MAX Configuration VI Reference

Status Codes

This help topic contains error codes returned by the MAX Configuration API. If an error condition occurs during a call to one of the MAX Configuration API functions, the return value status contains the returned error code.

Defined ConstantValueDescription
NIMAXError_PermissionDenied-2147220560Unable to write to file. Permission denied.
NIMAXError_SystemNotFound-2147220559Unable to connect to the specified system. Ensure that the system is online.
NIMAXError_TransformFailed-2147220558Error running transform to generate report.
NIMAXError_NotInstalled-2147220557Unable to find NI MAX on the system. Please re-install.
NIMAXError_LaunchFailure-2147220556Unexpected error launching nimax.exe.
NIMAXError_MissingTransform-2147220554Unable to find XSL transform to generate report.
NIMAXError_IncorrectExtension-2147220553Incorrect report file extension provided.
NIMAXError_FileReadOnly-2147220552Report file is read-only. Unable to generate report.
NIMAXError_ReportOverwrite-2147220551Report file exists and the NIMAX_FailIfOverwritingReport flag was set.
NIMAXError_DirectoryError-2147220550Error creating directory for report files.
NIMAXError_InvalidArgument-2147024809Invalid argument (src/dst cannot be the same or blank; product must be blank or a valid entry)
NIMAXError_CannotOpenFile-2147220480Error opening a file
NIMAXError_InsufficientPermissions-2147220479The object cannot be accessed because of insufficient permissions
NIMAXError_NCECopierFailed-2147220478Error with the object copier
NIMAXError_FileOperationFailed-2147220477Error performing a file operation
NIMAXError_NameCollisionError-2147220476Names from one product expert have collided with another product expert
NIMAXError_UnexpectedError-2147220475Unexpected error has occurred
NIMAXError_NCENoStreamError-2147220474The product expert requested its stream for import but we could not give it one because it did not export a stream
NIMAXError_NCECompressionError-2147220473Error compressing or decompressing file
NIMAXError_NCEStreamReadError-2147220472Error reading from a stream
NIMAXError_NCEStreamWriteError-2147220471Error writing to a stream
NIMAXError_NCEStreamSeekError-2147220470Error seeking to a position in a stream
NIMAXError_NCERepoNotReady-2147220469Repository not ready to be exported
NIMAXError_NCERepoInvalid-2147220468The file or stream chosen to import the repository from is not a valid repository
NIMAXError_NCERepoIncompat-2147220467The repository was exported with a newer version of MAX than what is on the importing machine
NIMAXError_NCENoImportStorage-2147220466The import storage could not be opened
NIMAXError_NCENoExportStorage-2147220465The export storage could not be created
NIMAXError_NCENoObjCopier-2147220464The object copier could not be created
NIMAXError_CopyInProgress-2147220463A copy operation is already in progress
NIMAXError_FileNotRecognized-2147220462The custom file does not belong to a given product expert
NIMAXError_SystemNotSupported-2147220461A specified system is not supported by this product
NIMAXError_SystemNotReachable-2147220460A specified system is presumably supported, but network errors prevent connection
NIMAXError_ProductSoftwareNotInstalled-2147220459The remote NI Real-Time target was reached, but the product is not installed there
NIMAXError_ProductSoftwareTooOld-2147220458The product is installed on the remote NI Real-Time target, but is too old
NIMAXError_ProductSoftwareTooNew-2147220457The product is installed on the remote NI Real-Time target, but is too new
NIMAXError_DataTooOld-2147220456The import data is too old (product is not backwards compatible with this data)
NIMAXError_DataTooNew-2147220455The import data is too new (product is not forwards compatible with this data)
NIMAXError_NoItemsToCopy-2147220454The operation failed because no source items were specified
NIMAXError_OrphanItems-2147220453The operation failed because some items were orphans
NIMAXError_DirtyItems-2147220452The operation failed because some items were in-edit and not saved
NIMAXError_FileOverwrite-2147220451The operation failed because it would overwrite a file
NIMAXError_ItemOverwrite-2147220450The operation failed because it would overwrite items
NIMAXError_MissingDependency-2147220449The operation failed because of missing dependency items
NIMAXError_Timeout-2147220448The operation timed out
NIMAXError_OperationCanceled-2147220447The operation was canceled by the client
NIMAXError_WarningConflicts-2147220446The operation failed because of warning conflicts
NIMAXError_ErrorConflicts-2147220445The operation failed because of conflicts, in general
NIMAXError_ItemsRequireUserInput-2147220444The operation failed because of unresolved conflicts requiring user input
NIMAXError_ProductExpertNotReady-2147220443A product is not ready to accept the specified source or destination, but may become ready in the future
NIMAXError_OrphanFiles-2147220442The operation failed because some files were orphans
NIMAXError_IsConst-2147220441Caller called a non-constant method on an object that is logically constant
NIMAXError_UnsupportedProductMode-2147220440A product does not support the attempted copy mode, such as merge to file