06-15-2010 06:41 PM
Hi,
I have been using Labview together with Solidworks and it has been working perfectly. Suddenly, it started returning to me an error message when I try to deploy all components of the project. The message says:
''an error occurred while attempting to switch the I/O scan mode
NI SoftMotion: The specified index is not valid for the given resource.''
Does anyone have an idea of how to solve this problem?
Thanks in advance!
06-16-2010 07:33 AM
06-17-2010 05:28 AM
More details on the error:
Error changing to active mode: -77075.
NI SoftMotion: The specified index is not valid for the given resource.
Any help on this?
Cheers.
06-17-2010 05:36 AM
Just to complete my last post. Another error code appears when I try to look for the reasons of this problem:
error code -66460. Labview: The I/O scan time exceeded its period.
Any help would be more than welcome!
06-18-2010 03:20 AM
Hi there
The first error you encounter; 77075, refers to having two or more simulated axes above any SolidWorks axes in the LabVIEW Project Explorer window causes a NIMC_invalidIndexSpecifiedError (-77075) when switching to Active mode. This can be solved by installing SP1 for LabVIEW 2009 Softmotion Module. This is outlined in the below document;
The second error you encounter; 66460 is most likely sourcing from solid works not sending points back fast enough. Again I would recommend upgrading to SP1 and also by using write setpoints and running at 100ms or so. I would also recommend using a smaller step size specified in the properties of the SolidWorks assembly in LabVIEW project and set the scan engine back to 10 ms to trial. These were run on axis two the linear stage in the assembly. Please let me know if this resolves the support issue at hand.
I have also referenced a good link to Getting Started with Solidworks and LabVIEW, this can be found below;
06-18-2010 04:06 AM
Hi David,
Thanks for your support.
I haven't been able to overcome the situation yet. I've upgraded Labview and SoftMotion to SP1 but the situation persists. The error comes out like this:
''Error occurred while attempting to switch the I/O scan mode. NI SoftMotion: An error occurred while reading deployed data''.
(And still error code: -66460).
More help would really be more than welcome!
Regards.
06-18-2010 04:42 AM
Hi again
I believe this happens when calling multiple straight line moves in a short period of time. The software prepares a preemptive switch for the first one and before it can begin making the adjustments the second call comes in and results in the error. By adding a 100 ms wait in-between straight line moves would be one way to remove this issue, you could also perform a contour move.
Let me know how you get on.
06-18-2010 05:11 AM
Hi David,
Thanks again for your help. That's actually a contour move that I'm trying to perform. Previously I performed the same trajectory with a set of straight lines and then I did it using a contour move and both were working perfectly. Suddenly, it just started returning errors to me. It worked ok for few days and then errors started coming... That's what I'm finding a bit strange!...
I'm looking forward to hearing from you again.
12-19-2013 11:48 AM
Hello everyone,
I am having this error -77005, when i try to Deploy the Axis in labview. I am using labview 2013 f2 with softmotion 2013 , solidworks 2012 64-bit. Its a very simple assembly as you will see in the attachment.
I would really appreciate it if someone would help. Thanks in advance
12-20-2013 08:43 AM - edited 12-20-2013 08:43 AM
Hey alkaff89,
I have managed to re-create your error code on my pc. Reading the code alone you may have one of the following issues:
1. You need to define the resource outside of (before) the while loop. (See Figure 9 of the 2nd article I have linked).
2. The resource address you have specified is either incorrect or has been changed since defining it. Try checking the resource is where you have specified and named correctly.
3. The other possibility is that you have “NI Scan Engine support” installed on your computer, and as it is conflicting with this operation you need to uninstall it.
These articles that may be of use to you:
Configuring NI SoftMotion Axes
Getting Started with NI SoftMotion for SolidWorks
Is this VI part of a project set up as shown in Figure 4. in the 2nd article I have linked? If not then I think this should be the first thing to try.
Finally; in future could you please create a “New Message” in the relevant forum section when you have a new query? Thanks.
Hope this helps,