08-13-2013 05:24 AM
Hi all,
I am new to labview, using labview 8.5.
I want to use Labview to control LANG MCL-2 stepping-motor controller. I managed to get the "square teeth" movement where the movement should be in steps and with each step a measurement should be done, but the problem is I can't figure out a proper condition to apply so the movement will be finished automatically.
Also when the move on X axis is done then on the Y axis, I get a one step backward before it continues regularly, I also want to get rid of this backward step.
Any ideas?!
thnx for help in advance.
Senan
08-13-2013 07:48 AM
@Theone2222 wrote:
I want to use Labview to control LANG MCL-2 stepping-motor controller. I managed to get the "square teeth" movement where the movement should be in steps and with each step a measurement should be done, but the problem is I can't figure out a proper condition to apply so the movement will be finished automatically.
What have you coded so far, can you share your code??
Should not condition be, count the total steps and as you already know the steps/revolution, you should determine when to stop measurement...??
08-13-2013 08:07 AM
I included what I have coded so far. it might be wrong approached...
08-13-2013 08:33 AM
Dependencies are missing...!!
08-14-2013 02:23 AM - edited 08-14-2013 02:35 AM
ah yes. they r sub VI's related to the lang steppermotor. how can I include them here?
08-14-2013 05:48 AM
basically all those sub VI's do is to read the command nad put it into actions -mainly steps in X or Y directions- or start and finish the connection with the motor...
08-19-2013 07:43 AM
those are the missing VI's
08-19-2013 07:44 AM
08-19-2013 07:45 AM - edited 08-19-2013 07:51 AM
more
08-19-2013 07:46 AM
Those are all the dependencies needed but I edited the main VI to this one