08-03-2006
12:22 PM
- last edited on
07-10-2025
05:11 PM
by
Content Cleaner
[link removed]
08-04-2006 09:28 AM
08-04-2006 10:42 AM
Hello and thank you for your help.
When I run the program with the settings on axis two, no motion is occuring from the motor driver (it is in another building but I will find out what the driver and motor is being used and let you know). At first I thought that the problem might be the sub-vi's in the block diagram so I went through and changed them all from axis one settings to axis two. While it is running when I open the sub vi's and try and change them it says axis one and it is greyed out. I am not sure if I actually need to change anything in the block diagram or if I should be able to just change the front panel to axis 2. When I run the simple one axis motion example and switch it to axis two on the front panel it works properly.
-Keith
08-07-2006
05:03 AM
- last edited on
07-10-2025
05:12 PM
by
Content Cleaner
You don't need to change anything in the block diagram as the value from the axis control is passed through all subvis.
I remember dimly that there was an older NI-Motion version that mixed up the axis settings in a subvi. My recommendation is
1.) to debug the vi in highlight mode and using probes to see if the correct axis number is passed to all vis and
2.) to fix any wiring problems inside the subvis if you find some or even better upgrade to the latest version of NI-Motion which is 7.2 with the update to 7.2.1.
Jochen
08-09-2006 04:47 PM
So I updated it and then changed the axis on the front panel to two. There is still no motion though. Axis one is still working fine when run off the trigger box with the code, axis two runs fine off of the simple one axis motion but cannot run off of the same triggering code. When I probed it all axis read two as well.
Thanks
Keith
09-28-2006 11:51 AM
09-29-2006 04:49 AM