Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the frequency of pulse train on the fly using an array of values?

Hi all!

First I want to thank U for the great job you are doing for this forum.

Iam still busy trying to control a stepper motor, by sending pulses from my E-series 6024 to a compumotor s6- stepper Driver. I've managed to get it working. I desperately need to control the motor using the values from an array. I believe we can use two approaches for that:

1st - I can get an array of the "numbers of pulses". Each element must run for 10 milliseconds. Using that we can calculate the array of frequencies to send the number of pulses within 10 milliseconds for each specific element. Could we use the arrays of "number of pulses" and frequencies in a "finite pulse train " and up
date with each element every 10 millisecond?

2nd - Or Could we use of the frequency array in a "continuous pulse train vi" and update it every 10 milliseconds?

Please note that I must use the values as they are.

Can someone please built a good example for me? Your help will be appreciated.

Regards

Chris
Download All
0 Kudos
Message 1 of 1
(2,568 Views)