Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

"Double buffer" with countoured moves

Hello,

 


I need to know if there is some (potential) problems in using a variation of a technique described in “Advanced Uses, item 1” of flex_configure_buffer help file.

Instead of setting ahead in time the two buffers, I need to know if it is possible to write to the second buffer while running the first. Also, the data points needed to write would be greater than the buffer’s total available memory and the total points will change for every new write to buffer.

I need this because at the beginning of a given set of data points I need to change the status of some digital outputs. Broking my position profile in several data sets allow me to do this. Writing to the buffers need to be done in parallel because the delay it takes to write will increase the time needed to complete the profile.

 

Thanks.

0 Kudos
Message 1 of 3
(3,333 Views)
Hi,

I guess you are talking about rotating buffer in CNC terms. This facility is available in NI motion controllers and I think there is an example VI for this is LabVIEW examples. I dont have LV here, i'll try to post it tomorrow.

Regards,
Giridhar Rajan
0 Kudos
Message 2 of 3
(3,310 Views)

Hi,

I'm not talking about rotating buffer. I'm already using extensively this feature of NI in my C++ programs (not working with LabView). In fact, since I have a huge number of data points, using a circular buffer is the only way that I can spline through them. I will try to explain better what I want to accomplish tomorrow.

Thanks.



0 Kudos
Message 3 of 3
(3,307 Views)