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.
10-12-2015 01:39 PM
I am using SoftMotion Lite to control 4 stepper motors via an expansion chassis. When running my application within LabVIEW, everything works fine. All motors work exactly as expected and I have the four axes configured within the project. However, when I try to build and run an executable the application is not able to see the configured axes. Attempting to execute an invoke node on any of the axes results in error -52024. The attached picture I think pretty acurately shows what the problem is. The menu on the left is a VI running within LabVIEW development, while the menu on the right is running within the executable. My question then is how do I include my configured axes when building an executable? I'm sure this is probably an easy fix but I can't for the life of me figure out what I'm doing wrong. If anyone could shed some light on this it would be much appreaciated.
Solved! Go to Solution.
10-14-2015 10:34 AM
Hi aleclspin,
You mentioned you are using SoftMotion Lite. I found this page that describes the functionality of SoftMotion vs SoftMotion lite.
http://www.ni.com/product-documentation/9414/en/
It looks like SoftMotion Lite may not include functionality to use custom axes in an executable (see the table). Is this something that you have been able to accomplish before or that you are trying for the first time?
Robert
10-14-2015 05:01 PM
Leeroy, my axes aren't really "custom", they are just configured, as in I just added the axis to the project and changed the settings using the properties menu. The link you gave doesn't say anything about building an executable, so my guess is if that was the problem then I wouldn't be able to get my motors moving at all.
10-15-2015 06:32 PM
Hi aleclspin,
What versions of LabVIEW, SoftMotion, RT/FPGA are you using? Also, would please post pictures of your block diagram and where the error is occuring?
10-16-2015 10:37 AM
Frank,
I am using Labview 2014 and SofMotion Lite 2014. I am using scan engine to communicate with an expansion chassis, so I am not using RT or FPGA on the PC. I have attached a picture of the block diagram where the error occurs, although I'm not sure this will be helpful. As I stated before, everything works fine within development. It is only when attempting to build an executable that the error occurs. The error is clearly an issue with the configured axes resources not being available within the executable as the axes do not show up as options when I attempt to use controls instead of constants. Obviously this would explain why I get error -52024 when attempting to use a constant that references an unavailable resource.
10-16-2015 02:26 PM
Update: Figured it out, my antivirus was causing the problem.