12-04-2015 04:48 AM
Hey everybody,
I have a stepper motor wich work good with "daq stepper motor control (constant velocity)".
My problem is the constant velocity.
I need to change the velocity during the mouvement and i don't konw how to do that.
Thanks for help and sorry for my bad english!
Solved! Go to Solution.
12-31-2015 04:19 AM
Hello,
With the constant velocity example you continously generate a PWM with a constant duty cycle.
To change the velocity you'll have to play with the duty cycle.
To do so, you can take a llok at the following example:
How Can I Change the Duty Cycle on My Continuous Pulse Train?
Regards,
Valentin
Certified LabVIEW Architect
Certified TestStand Architect
Certified LabWindowsCVI Developer
National Instruments France
01-05-2016 04:53 AM
Bonjour, merci pour la réponse. Je me permets de répondre en français puisque je vois à votre signature que vous êtes NI France, ça sera plus facile pour moi.
J'ai essayé d'inserer le duty cycle, mais pour l'instant je ne parviens pas à ce que ça soit fonctionnel.
Peut être que je ne l'insère pas au bon endroit.
J'ai essayé en positionnant comme dans votre lien "counter freq" dans la boucle while de mon vi (daq stepper motor control).
Merci d'avance de votre aide.
01-05-2016 07:35 AM
C'est bon, finalement j'ai re essayé et ça fonctionne!
Merci beaucoup pour votre aide!
01-05-2016 08:05 AM
Bonjour,
Merci pour votre retour
Bonne journée,
Valentin
Certified LabVIEW Architect
Certified TestStand Architect
Certified LabWindowsCVI Developer
National Instruments France