Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I make changes to motor velocity while collecting data at high speeds?

I am using Acquire Trajectory Data.flx and Read Trajectory Data.flx with a PCI-7344 motion controller to gather velocity data from 3 axes at 333Hz for about 4 seconds. While this is happening, I need to change the velocity of one of the motors. Is there any way to change the velocity while still collecting data at this rate?
0 Kudos
Message 1 of 2
(2,977 Views)
As stated in the LabVIEW Help for the Acquire Trajectory Data VI:

"The Acquire Trajectory Data VI initiates the automatic acquisition of position and velocity data for the selected axes. The data is held in an onboard first-in-first-out (FIFO) buffer until later read back with the Read Trajectory Data VI. You can select which axes to acquire data for and program the time period between samples.

The Acquire and Read Trajectory Data VIs are used to acquire and read back time-sampled position and velocity data for analysis and display...Once started, this data acquisition operates autonomously in the background as a separate task. Motion control operates normally and you can execute other motion VIs simultaneously."

The Help also cautions, "Wait an appropria
te amount of time before attempting to read back the trajectory data. Because host communication, event handling, arc point generation, contour point dispensing, buffered breakpoints, and buffered high-speed capture are a higher priority on the controller than acquiring trajectory data, you may notice irregular time spacing of sampled data when host communications or event notification is heavy. To minimize the chance of irregular data, limit host communication to a minimum while acquiring trajectory data. If you still notice irregular data, increase your time period."

I hope this answers your question. Good luck!
Message 2 of 2
(2,977 Views)