08-15-2017 03:53 PM
Hi, I am working on getting an existing program to run on LabVIEW 2016 on a new computer. The program sends a command through cRIO to move a motor, aka "axis 1." When I attempt to run the program, I get the following error:
I got some ideas from another forum post (https://forums.ni.com/t5/Motion-Control-and-Motor-Drives/Error-70217-when-trying-to-run-NI-SoftMotio...)
Here is what I've tried:
- In the LabVIEW project, right-click on My Computer and got to Properties. Then go to the Scan Engine tab and make sure the box is checked next to Start Scan Engine on Deploy. You may also want to set the Scan Period to 10 ms if it's not already. If the value is above 5 ms, you'll get a warning message when you deploy but this is usually just fine for simulation with SolidWorks.
- Individually select each of the motion axes in your project and do the following: Select Properties and then click on the left-most button to configure the Axis Setup. Make sure the box is checked for Enable Drive on Transition to Active Mode.
- Now select all of the motion items (including My Computer) in the LabVIEW Project, right-click and select Deploy. Normally, since this is your first deployment it will start the SolidWorks simulation running and so your are ready to run the LabVIEW shipping example. If not, right-click on My Computer and select Utilities>Scan Engine Mode>Switch to Active.
After trying those, I went to the interactive test panel, but still have the same error:
Thanks for your help!
08-16-2017 11:55 AM
I may have made a bit of progress, or messed it up further.
I tried the following workaround from the forum post that I linked to above:
"Add a new NI SoftMotion Axis to the project (e. g. Axis 2)
When I tried to run my vi again after that, I got the following error:
"Error -66207 occurred at Shared Variable in WI-MFG-01313AK Membrane Dipping - calibrated height.vi
Possible reason(s):
LabVIEW: You cannot write to an input channel.
This error or warning occurred while writing the following Shared Variable:
\\DEVBENCHcRio\Mod6\DIO0
\\169.254.1.1\Mod6\DIO0"
Does anyone have any ideas of what to do next? I appreciate your help!
08-16-2017 12:30 PM
It's also thrown me this message, along with error -66207 in case it helps to diagnose the problem. The error -66207 occurs every time I run the program, but this message box only pops up occasionally:
08-17-2017 11:51 AM
Hi aphilipps,
I can see a couple of issues here. The error -66207 is that you are probably trying to use an IO wrongly so we need more information about the hardware and software configuration. Pay special attention to slot 6 where the problem is coming from.
The other issue might be related because is basically a wiring error. If one of the IOs doesn't work, could lead to this error.
My suggestion is check for example for the modules you are using to understand what's wrong with the original code.
Regards,
PedroR
11-13-2017 06:44 PM
11-16-2017
12:36 PM
- last edited on
03-27-2025
08:27 AM
by
Content Cleaner
You should try with this post. https://www.ni.com/en/support/documentation/supplemental/16/labview-softmotion-module-2016-q4-notifi... First versions of LabVIEW SoftMotion Module 2015 & 2016 had some bugs that were corrrected with SP1 vesions.
Hope it works!