Error Codes

NI-Motion Functions

Error Codes

The following table lists all NI–Motion error codes, symbolic names, and a brief description of the associated error conditions.

Refer to the Error & Utility Functions for detailed descriptions of the functions for error handling. Refer to Errors and Error Handling for more information about errors and error handling techniques.

Error Code    Symbolic Name                                          Description
        0             NIMC_noError No error.
-70001 NIMC_readyToReceiveTimeoutError Ready to Receive Timeout. The controller is still not ready to receive commands after the specified timeout period. This error may occur if the controller is busy processing previous commands. If this error persists, even when the controller should not be busy, contact National Instruments.
-70002 NIMC_currentPacketError Either this function is not supported by this type of controller, or the controller received an incomplete command packet and cannot execute the function.
-70003 NIMC_noReturnDataBufferError No data in the Return Data Buffer. The kernel driver returns an error if it runs out of time waiting for the controller to return data to the Return Data Buffer. This error can also be returned if the power-up state of the controller has not been cleared.
-70004 NIMC_halfReturnDataBufferError Partial readback packet. The data returned by the controller is incomplete. The kernel driver timed out after getting partial data.
-70005 NIMC_boardFailureError Most likely, your controller is not installed or configured properly. If this error persists when you know your controller is installed and configured properly, it indicates an internal hardware failure.
-70006 NIMC_badResourceIDOrAxisError An invalid axis number or other resource ID (vector space, encoder, I/O port, and so on) was used. If you are using the NI SoftMotion Controller, this error indicates that the resource used in the operation is not configured.
-70007 NIMC_CIPBitError A previous function is currently being executed, so the controller cannot accept this function until the previous function has completed. If this problem persists, try putting a delay between the offending commands.
-70008 NIMC_previousPacketError The function called previous to this one is not supported by this type of controller.
-70009 NIMC_packetErrBitNotClearedError Packet error bit not cleared by terminator (hardware error).
-70010 NIMC_badCommandError Command not recognized. Invalid command sent to the controller.
-70011 NIMC_badReturnDataBufferPacketError Corrupt readback data. The data returned by the motion controller is corrupt.
-70012 NIMC_badBoardIDError Illegal board ID. You must use the board ID assigned to your controller in Measurement & Automation Explorer.
-70013 NIMC_packetLengthError Command packet length is incorrect. Your NI motion controller firmware may be out of date.
-70014 NIMC_closedLoopOnlyError This command is valid only on closed-loop axes (closed-loop stepper and servo).
-70015 NIMC_returnDataBufferFlushError Unable to flush the Return Data Buffer.
-70016 NIMC_servoOnlyError This command is valid only on servo axes.
-70017 NIMC_stepperOnlyError This command is valid only on stepper axes.
-70018 NIMC_closedLoopStepperOnlyError This command is valid only on closed-loop stepper axes.
-70019 NIMC_noBoardConfigInfoError Controller configuration information is missing or corrupt. A motion controller has not been configured at this Board ID.
-70020 NIMC_countsNotConfiguredError The steps per revolution and/or counts per revolution are not loaded for this axis.
-70021 NIMC_systemResetError System reset did not occur in maximum time allowed.
-70022 NIMC_functionSupportError This command is not supported by this controller or operating system.
-70023 NIMC_parameterValueError One of the parameters passed into the function has an illegal value.
-70024 NIMC_motionOnlyError Motion command sent to an Encoder board.
-70025 NIMC_returnDataBufferNotEmptyError The Return Data Buffer is not empty. Commands that expect data returned from the controller cannot be sent until the Return Data Buffer is cleared.
-70026 NIMC_modalErrorsReadError The Motion Error Handler.flx VI discovered modal error(s) in the modal error stack. These error(s) can be viewed in the Modal Error(s) Out Indicator/terminal of this VI.
-70027 NIMC_processTimeoutError Under Windows NT, a function call made to the motion controller timed out waiting for driver access. For ethernet controllers, a function call made to the motion controller timed out waiting for return data. This can happen due to a slow or lost connection with the ethernet box product.
-70028 NIMC_insufficientSizeError The resource is not large enough to supported the specified operation.
-70033 NIMC_badPointerError A NULL pointer has been passed into a function inappropriately. If the API function does not take a pointer, then this indicates an unexpected error has occurred internal to the driver. Please contact National Instruments with the name of the function or VI that returned this error.
-70034 NIMC_wrongReturnDataError Incorrect data has been returned by the controller. This data does not correspond to the expected data for the command sent to the controller.
-70035 NIMC_watchdogTimeoutError A fatal error has occurred on the controller. You must reset the controller by power cycling your computer. Contact National Instruments technical support if this problem persists.
-70036 NIMC_invalidRatioError A specified ratio is invalid.
-70037 NIMC_irrelevantAttributeError The specified attribute is not relevant.
-70038 NIMC_internalSoftwareError An unexpected error has occurred internal to the driver. Please contact National Instruments with the name of the function or VI that returned this error.
-70039 NIMC_1394WatchdogEnableError The communication watchdog on the 1394 motherboard could not be started.
-70040 NIMC_reservedOnBoardProgramError The current device is reserved for onboard program while download process is in progress. To release the device, use End Program Storage after the download process is completed.
-70041 NIMC_boardIDInUseError The boardID is already in use by another controller. If trying to change a controllers boardID, select a boardID not in use.
-70042 NIMC_RemoteConnectionFailureError Unable to establish a connection with the remote system. Use MAX to verify that your remote board mappings are valid.
-70043 NIMC_calibrationOutOfRangeError The calibration target is out of range. We can't reach the calibration target even with full scale caldac or minimum caldac.
-70044 NIMC_calibrationStepError For external calibration users must do provide the password to the board, perform adjustment and set the new onboard reference in sequence.
-70045 NIMC_axesNotKilledError During the calibration process (both internal and external), please make sure that all axes are in a killed state using the Stop Motion function.
-70046 NIMC_invalidCalibrationDataError Calibration data were not successfully read from the flash EEPROM.
-70047 NIMC_modeNotSupportedError This mode is not supported by this controller.
-70048 NIMC_invalidBreakpointWindowError The breakpoint window is not valid.
-70049 NIMC_downloadChecksumError There was an error during checksum on a file being downloaded to the NI motion controller.
-70051 NIMC_firmwareDownloadError Firmware download failed. Reset the controller and try downloading again.
-70052 NIMC_FPGAProgramError Internal Error. The FPGA failed to program. Reset the controller and try again. If the problem persists, contact National Instruments technical support.
-70053 NIMC_DSPInitializationError Internal Error. The DSP failed to initialize. Reset the controller and try again. If the problem persists, contact National Instruments technical support.
-70054 NIMC_corrupt68331FirmwareError Corrupt onboard microprocessor firmware detected. Download new firmware.
-70055 NIMC_corruptDSPFirmwareError Corrupt DSP firmware detected. Download new DSP firmware.
-70056 NIMC_corruptFPGAFirmwareError Corrupt FPGA firmware detected. Download new FPGA firmware.
-70057 NIMC_interruptConfigurationError Internal Error. Host interrupt configuration failed and interrupt support is disabled.
-70058 NIMC_IOInitializationError Internal Error. The I/O structure on the controller failed to initialize. Reset the controller and try again. If the problem persists, contact National Instruments technical support.
-70059 NIMC_flashromCopyError Error copying to the FLASH ROM.
-70060 NIMC_corruptObjectSectorError The objects stored in FLASH ROM are corrupt.
-70061 NIMC_bufferInUseError The specified buffer is in use.
-70062 NIMC_oldDataStopError The Read Buffer or Write Buffer function was unable to complete successfully because old data was encountered in the course of reading from or writing to the buffer.
-70063 NIMC_bufferConfigurationError The buffer has not been configured properly. Buffer type cannot be changed. The buffer might exist in ROM, but has not yet been configured since the last power cycle.
-70064 NIMC_illegalBufferOperation This operation is invalid at this time. You cannot write to a ROM buffer; or you cannot read or write to the buffer at this time.
-70065 NIMC_illegalContouringError This operation cannot be executed while a contouring operation is in progress.
-70066 NIMC_virtualBoardError The board ID passed is currently being used for a virtual NI-Motion controller. No commands can be sent to a virtual board.
-70067 NIMC_maxBreakpointFrequencyError A buffered breakpoint operation exceeded the maximum frequency allowed.
-70068 NIMC_maxHSCaptureFrequencyError A buffered high-speed capture operation exceeded the maximum frequency allowed.
-70069 NIMC_invalidHallSensorStateError Invalid Hall sensor state. Please verify the connection to the Hall sensors of ALL enabled onboard commutation axes.
-70070 NIMC_commutationModeError Commutation mode and commutation parameters cannot be changed while the axis is enabled.
-70071 NIMC_DIOReservedForHallSensors Direction of the DIO lines reserved for Hall sensor input cannot be set to output.
-70072 NIMC_boardInPowerUpResetStateError The NI motion controller is in power up reset state. Please execute the Clear Power Up Status function or VI before sending any commands to the controller.
-70073 NIMC_boardInShutDownStateError The controller cannot accept this function, as it has been shut down.
-70074 NIMC_shutDownFailedError The controller failed to shut down. This could be because it failed to disable the DACs, the encoders, or the ADCs, or because it could not reset the I/O back to user defaults.
-70075 NIMC_hostFIFOBufferFullError Communication FIFO buffer between the host computer and the controller is full.
-70076 NIMC_noHostDataError Communications error. The controller did not receive any data in the command packet from the host computer.
-70077 NIMC_corruptHostDataError Communications error. The controller received corrupt data in the packet from the host computer.
-70078 NIMC_invalidFunctionDataError Invalid function data has been passed. This is usually a parameter out of range, or an illegal combination of parameter values.
-70079 NIMC_autoStartFailedError The controller could not run the onboard program on auto start. When you enable auto start, make sure that you specify a valid program number and that the program is saved in FLASH ROM.
-70080 NIMC_returnDataBufferFullError The Return Data Buffer on the controller is full.
-70083 NIMC_DSPXmitBufferFullError Internal error. The transmit buffer of the DSP is full. Messages from DSP to the onboard microprocessor are being delayed or lost.
-70084 NIMC_DSPInvalidCommandError Internal error. The DSP received an illegal command.
-70085 NIMC_DSPInvalidDeviceError Internal error. The DSP received a command with an invalid Device ID.
-70086 NIMC_invalidFeedbackResetPositionError Invalid reset position is applied to the feedback device. If the same feedback device is configured as both primary and secondary feedback, it must be reset to the same position.
-70087 NIMC_blendNotCompleteError Blend operation must be completed before another blend operation can be started. Use Check Blend Complete Status to read the current blend operation status.
-70088 NIMC_invalidFeedbackDeviceError The current operation cannot be performed on the axis feedback device. Configuring phase and index settings can be applied only to axes with encoder feedback. If you are using the NI SoftMotion Controller, this error indicates the feedback device is not supported by this axis.
-70089 NIMC_axisFindingReferenceError The current operation cannot be completed because the axis is performing a find reference move. Changing find reference parameters and starting other moves requires the axis to finish the find reference move first.
-70090 NIMC_onboardProgramSupportError This function cannot be executed as part of an onboard program. Make sure a program is not currently storing or run End Program Storage to complete the current storing program before calling this function.
-70092 NIMC_DSPXmitDataError Internal error. The data returned by the DSP is incomplete or corrupt.
-70093 NIMC_DSPCommunicationsError Internal error. A command from the onboard microprocessor to the DSP was corrupt and ignored.
-70095 NIMC_DSPCommunicationsTimeoutError Internal error. There was an internal timeout while sending commands to the DSP.
-70096 NIMC_passwordError This function is password protected. Please enter the correct password to access it.
-70097 NIMC_mustOnMustOffConflictError There is a conflict between the mustOn and mustOff values set for this function.
-70100 NIMC_IOEventCounterError Problem with the I/O Event Counter.
-70102 NIMC_wrongIODirectionError The I/O bit configuration does not agree with its port's direction setting.
-70103 NIMC_wrongIOConfigurationError I/O bit configuration is not possible for that pin.
-70104 NIMC_outOfEventsError Internal error. The number of events pending have reached the maximum allowed.
-70105 NIMC_IOReservedError I/O has been reserved. This error occurs when I/O has been reserved for another use such as Hall effect sensors or drive signals. You must unreserve the I/O before using it. This error might also be generated if you attempt to reserve a high-speed capture (HSC) line for a drive signal when HSC is enabled.
-70106 NIMC_outputDeviceNotAssignedError No DAC or stepper output is assigned to this axis.
-70107 NIMC_splineUnderflowError The motion controller was too busy to send points to the spline engine and an underflow occurred. Increase the Coarse Arc Points Interval Period in MAX if performing an arc move, or increase the requested interval between points in your buffer if performing a contour move.
-70108 NIMC_PIDUpdateRateError PID rate specified is too fast for the number of axes and/or encoders enabled.
-70109 NIMC_feedbackDeviceNotAssignedError No primary feedback device (encoder or ADC) is assigned to a servo or closed-loop stepper axis.
-70111 NIMC_axisConfigurationSwitchError A resource is currently configured for another axis that is enabled. Disable the axis using that resource. If you are using the NI SoftMotion Controller, you can only assign a resource to an axis with the same index.
-70112 NIMC_axisConfigurationClLoopError An enabled closed-loop axis must have a resource mapped as its primary feedback. Disable the axis before removing the resource.
-70113 NIMC_noMoreRAMError No RAM available for object (program or buffer) storage.
-70115 NIMC_jumpToInvalidLabelError A Jump to Label on Condition function in a program had an invalid label.
-70116 NIMC_invalidConditionCodeError Condition selected is invalid.
-70117 NIMC_homeLimitNotEnabledError Find Reference function cannot execute because the Home and/or Limit inputs are not enabled. Either enable Limits or use SmartEnable.
-70118 NIMC_findHomeError Find home was not successful because the motor stopped before the home switch was found.
-70119 NIMC_limitSwitchActiveError The desired move cannot be completed because the limit input is active in the direction of travel.
-70120 NIMC_softwareUpdateRequiredError This NI Motion controller is not compatible with this version of the NI-Motion Software. Please upgrade your NI-Motion Software.
-70121 NIMC_positionRangeError Absolute target position loaded would cause the move length to be out of the +/-31 bit range allowed for a single move segment.
-70122 NIMC_encoderDisabledError The encoder is disabled. The encoder must be enabled to read it.
-70123 NIMC_moduloBreakpointError The breakpoint value or the breakpoint window loaded exceeds the modulo range.
-70124 NIMC_findIndexError Find Index sequence did not find the index successfully.
-70125 NIMC_wrongModeError The function was not executed because it was attempted at an illegal time.
-70126 NIMC_axisConfigurationError An axis cannot change feedback while moving or change output while enabled. Stop and/or disable the axis and then configure it.
-70127 NIMC_pointsTableFullError The points table for cubic splining is full.
-70129 NIMC_axisDisabledError A disabled axis has been commanded to move. Enable the axis before executing a move on it.
-70130 NIMC_memoryRangeError An invalid memory location is being addressed on the controller.
-70131 NIMC_inPositionUpdateError Internal error. The axis position could not be read for in-position verification.
-70132 NIMC_targetPositionUpdateError Internal error. The DSP was too busy to update the target position.
-70133 NIMC_pointRequestMissingError Internal error. The internal points request buffer is missing a request.
-70134 NIMC_internalSamplesMissingError Internal error. The internal samples buffer is missing samples.
-70136 NIMC_eventTimeoutError A wait operation timed out or a read function timed out.
-70137 NIMC_objectReferenceError An attempt was made to reference a nonexistent program object or buffer object. Or, the object number is already in use by an object of a different type. Choose a different object number, or free/delete the object currently owning that object number.
-70138 NIMC_outOfMemoryError There is not enough FLASH ROM space to save this object, which is either a program or buffer. If you are using the NI SoftMotion Controller, this error indicates that the targeted device does not have enough memory to perform the requested operation.
-70139 NIMC_registryFullError Object registry is full. The number of programs and buffers has reached the limit. Free some programs or buffers from RAM or ROM using the Object Memory Management function.
-70140 NIMC_noMoreProgramPlayerError All program players (maximum 10) are in use storing/playing programs.
-70141 NIMC_programOverruleError A Start, Blend, Find Home, or Find Index function being executed from an onboard program has been overruled by a Stop Motion function from the host computer. The program is left in the PAUSED state. Execute the Pause/Resume Program function to continue.
-70142 NIMC_followingErrorOverruleError A Start, Blend, Find Home, or Find Index function being executed from an onboard program has been overruled due to a following error condition. The program is left in the PAUSED state. Execute the Pause/Resume Program function to continue.
-70144 NIMC_illegalVariableError An illegal general-purpose variable is being used.
-70145 NIMC_illegalVectorSpaceError The vector space being used does not have enough axes assigned to it. If you are using the NI SoftMotion Controller, this error indicates that the vector space has not been configured.
-70146 NIMC_noMoreSamplesError There are no samples to read. Execute Acquire Trajectory Data before trying to read samples.
-70147 NIMC_slaveAxisKilledError Gearing cannot be enabled because the slave axis is in a killed state. Issue a halt stop with the Stop Motion function on the slave axis to energize it.
-70148 NIMC_ADCDisabledError The ADC is disabled. The ADC channel must be enabled to read it.
-70149 NIMC_operationModeError Axes that are a part of a vector space are either in velocity mode or have different operation modes.
-70150 NIMC_followingErrorOnFindHomeError Find Home sequence did not find home successfully because the axis tripped on following error.
-70151 NIMC_invalidVelocityError The vector velocity is not valid. The resulting angular velocity is out of range. Change the vector velocity for the arc move.
-70152 NIMC_invalidAccelerationError The vector acceleration is not valid. The resulting angular acceleration is out of range. Change the vector acceleration for the arc move.
-70153 NIMC_samplesBufferFullError Internal error. The internal samples buffer is full.
-70154 NIMC_illegalVectorError The input or return vector being used is invalid.
-70155 NIMC_QSPIFailedError Internal error. The internal QSPI serial bus failed and ADC values cannot be read.
-70157 NIMC_pointsBufferFullError Internal error. The internal point request buffer is full.
-70158 NIMC_axisInitializationError Internal Error. The internal axis data structures failed to initialize. Reset the controller and try again. If the problem persists, contact National Instruments technical support.
-70159 NIMC_encoderInitializationError Internal Error. The internal encoder data structures failed to initialize. Reset the controller and try again. If the problem persists, contact National Instruments technical support.
-70160 NIMC_stepChannelInitializationError Internal Error. The internal stepper output data structures failed to initialize. Reset the controller and try again. If the problem persists, contact National Instruments technical support.
-70161 NIMC_blendFactorConflictError Axes, which are part of a vector space, have different blend factors. Make sure that all the axes in the vector space have the same blend factor.
-70162 NIMC_torqueOffsetError The torque offset is outside of the torque limit range.
-70163 NIMC_invalidLimitRangeError The negative (lower) limit is greater than or equal to the positive (upper) limit.
-70164 NIMC_ADCConfigurationError ADCs cannot be enabled or disabled while axes are enabled with analog feedback. Also, ADC ranges cannot be changed on ADC channels being used for analog feedback while axes are enabled.
-70165 NIMC_findReferenceError Find Reference was not successful because the motor stopped before the reference was found.
-70166 NIMC_followingErrorOnFindReference Find Reference sequence did not find reference successfully because the axis tripped on following error.
-70167 NIMC_initializationInProgress The controller is currently initializing.
-70168 NIMC_invalidMotionIDError An invalid Motion ID was passed in a function.
-70169 NIMC_invalidPointerError A NULL or invalid pointer was passed as a parameter to this function.
-70170 NIMC_interfaceNotSupportedError The interface you are requesting is not supported.
-70171 NIMC_breakpointBufferFullError Internal Error. The internal breakpoint buffer is full.
-70172 NIMC_hsCaptureBufferFullError Internal Error. The internal High-Speed Capture buffer is full.
-70173 NIMC_internalBreakpointMissingError Internal error. The internal breakpoint buffer is missing data.
-70174 NIMC_internalHSCaptureMissingError Internal error. The internal high-speed capture buffer is missing data.
-70175 NIMC_arcPointsBufferFullError Internal Error. The internal arc points buffer is full.
-70176 NIMC_timeGuaranteeError The controller could not guarantee that all onboard programs are running in a timely fashion.
-70177 NIMC_invalidTimeSliceError You have entered an invalid value for the onboard program time slice.
-70178 NIMC_onlyInAProgramError This function can only be executed from an Onboard Program.
-70179 NIMC_invalidMasterAxisError The gearing master for the specified axis is invalid.
-70180 NIMC_invalidMasterEnabledError The gear master for an axis may not be set to 'None' while gearing is enabled for the axis.
-70182 NIMC_deviceNotActivatedError The device or resource has not been activated, or the license file is invalid.
-70183 NIMC_dataTransmissionError Data transmission to the targeted device failed. If you are using the NI SoftMotion Controller, this error indicates that the device in use is not supported by the NI SoftMotion Controller.
-70184 NIMC_deviceTypeNotSupported The device in use is not supported by the NI SoftMotion Controller.
-70185 NIMC_serializationFailedError Failed to store user defaults for the target device.
-70186 NIMC_homeSwitchActiveError The find reference move was not successful because the home switch is active.
-70187 NIMC_incorrectBufferSizeError The specified buffer size is incorrect for the requested operation.
-70188 NIMC_invalidBufferHandleSpecifiedError Internal error. The specified buffer handle is invalid.
-70189 NIMC_blendNotAllowedInThisModeError Blending is not valid in this position mode.
-70190 NIMC_invalidLoopRateError The specified host loop rate is invalid for the device or the current control loop rate.
-70191 NIMC_axisCommunicationWatchdogError Communication with the device has timed out.
-70192 NIMC_communicationInterfaceNotFoundError Some of the NI SoftMotion Controller components are missing, incompatible, or not properly started. Make sure your interface card is properly installed, and the device drivers are running. Otherwise, try reinstalling or repairing the NI SoftMotion Controller.
-70194 NIMC_axisAlreadyAddedError The NI SoftMotion Controller axis has already been added to the controller.
-70195 NIMC_invalidAxisScaleError The axis scale is not correct for loading the move constraint in this unit. Use the Load Counts/Steps per Revolution function to load the correct axis scale.
-70196 NIMC_axisNotPresentError The selected axis does not exist in the NI SoftMotion Controller.
-70197 NIMC_startBlockedDueToFollowingError Start motion is blocked because of following error. Verify the axis feedback and control, and then execute a halt stop before starting the move.
-70198 NIMC_configurationFileNotFoundError The configuration file for the selected NI SoftMotion Controller is missing.
-70199 NIMC_gearingMasterNotActiveError Gearing cannot be enabled because the master is not active.
-70200 NIMC_controllerNotInPowerUpResetStateError This operation requires the controller to be in a power up reset state. Please reset the controller.
-70201 NIMC_vectorSpaceCannotBeConfiguredError The vector space cannot be configured because one of the axes in the vector space is moving.
-70202 NIMC_failedToAddDeviceError Failed to add the drive to the controller. Please verify the drive ID is configured properly.
-70203 NIMC_noMoreBufferError Failed to create a buffer on the controller. Please clear one or more buffers.
-70204 NIMC_IOResourceNotConfiguredError You cannot enable the specified feature because the I/O resource necessary for the feature is not yet configured or mapped.
-70205 NIMC_invalidSerialNumberError The controller does not have a valid serial number. Please contact National Instruments to resolve this problem.
-70206 NIMC_invalidLicensingInformationError Unable to verify licensing information from this controller. Power cycle the system and contact National Instruments if the problem persists.
-70207 NIMC_inhibitInputActiveError The move cannot be completed because the inhibit input of the commanded axis is active.
-70208 NIMC_IOResourceConfigurationError You cannot change the configuration or mapping for this I/O resource because an enabled feature is currently using it. Please disable the feature before reconfiguring the I/O resource.
-70209 NIMC_driveReadyNotActiveError The move cannot be started because the drive ready input of the commanded axis is not active.
-70210 NIMC_clientConnectionRefusedError An unexpected error has occurred internal to the driver. The driver has refused to accept the client connection. Please contact National Instruments technical support with the name of the function or VI that returned this error.
-70211 NIMC_dataOutOfRangeError The data parameter passed to the function does not contain a valid value. Check the VI or function reference help for valid values.
-70212 NIMC_invalidIndexError The index parameter passed to the function is invalid. Check the VI or function reference help for valid values.
-70213 NIMC_controllerInDisabledStateError The controller cannot perform the requested operation because it is currently disabled. Please reenable the controller in MAX.
-70214 NIMC_attributeIsReadOnlyError The selected attribute is read-only.
-70215 NIMC_invalidSettingsNameSpecifiedError An invalid initialization settings name was specified.