Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to change the frequency of sine wave for motion control on the fly?

I need to generate a sine wave motion command, though I need to be able to change the frequency of the sine wave on the fly rather than having to input an array of frequencies. Is this possible using LabView sine wave function? Or any suggestions? Also I am having problems with aliasing / not sure how to remove it. I am using PCI 7344 motion control board. Thanks.
0 Kudos
Message 1 of 2
(3,159 Views)
What you will need to do is input individual target positions for your board. These target positions can be created using the LabVIEW sine wave function, and then placed in a buffer to be executed by the board. To keep the same frequency, just continue the same parameters for the LabVIEW sine wave function, and the place output on the buffer. To change the frequency, just change the parameters for the Sine Wave generator. For an example of doing a buffered move, where new target positions are continually added take a look at the shipping example under the countours llb titled Buffered Contouring (Rose).vi.
0 Kudos
Message 2 of 2
(3,159 Views)