Errors -70233 and -70038 Using LabVIEW SoftMotion With Multiple Motors

Updated Apr 11, 2023

Reported In


  • LabVIEW SoftMotion Module
  • LabVIEW Real-Time Module
  • LabVIEW

Issue Details

I have a LabVIEW Real-Time (RT) code that uses NI SoftMotion functions to control movements of two separate motors with Straight-Line Move running simultaneously, as shown below:

However, after deploying the code onto an RT target, it crashes after running for a while with the Straight-Line Move function giving the following errors:

Error -70233 Motion: The specified resource was not found. Verify that the resource input is correctly wired, that the resource is deployed, and that all resources used in the operation are on the same target.

Error -70038 Motion: 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.


These errors happen when a connection between the controller and the motor is lost, which can happen when running the motor control functions in parallel, such as Straight-Line Move.

This can be be avoided by running these functions one after another, as shown below: