From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-07-2013 03:37 PM
I am trying to follow the tutorial on how to get Labview working with Solidworks and the demo CNC robot that the example comes with. After I deploy all the axes and my computer and the assembly file I try and switch the scan engine to active mode but it won't let me. It pops up with an error;
"An error occured while attempting to switch the I/O scan mode. The specified index is not valid for the given resource".
I'm just trying to do a basic straight line move with one axis. Does anyone know how I can fix this? I updated softmotion with Sp1 already and did all the recommended updates.
02-08-2013 09:13 AM
This may be happening because the drive is not enabled. Review #2 on the troubleshooting guide found here.
02-12-2013 04:43 PM
that doesn't work because I have to actually have it in active mode to even get it enabled. Either way I'm still getting the error. Anybody else know how to fix it?
02-12-2013 04:54 PM
another error I'm getting is when I try to switch to active mode is "The size of the buffer or array is incorrect."
02-13-2013 02:24 PM
What are the names of your axes? Have you changed the names at all since beginning?
02-13-2013 06:04 PM
I didn't rename them at all. Just kept them at the original names when I created them.
02-14-2013 04:13 PM
I talked to some of our developers to get some more ideas for this error. Try the following:
Go to the file path C:\ProgramData\National Instruments\DeploymentFramework (it is a hidden file so you may need to change your settings to see it)
Delete the contents of that folder.
Restart LabVIEW
Redeploy your axes and see if it works.
If it does not, repeat the process but create a new project after LabVIEW restarts.
02-15-2013 03:20 PM
That worked wonderfully! Thanks Cameron. But my problem is still not over because now when I right click the solidworks file after deploying everything and having the computer in active mode it does not come up with an option to select "Start Simulation". I tried synchronizing to assembly and that doesn't do anything.
02-18-2013 05:16 PM
Did you make sure to follow the note at the end of #4: "To ensure that your simulation deploys properly always deploy the NI SoftMotion axes and not only the My Computer item."?