Onboard Buffers
Note This section applies only to NI 73xx motion controllers. |
You can use the memory on the NI motion controllers to create general-purpose buffers to read and write data, as shown in the following figure.
Buffers are created from a dynamic pool of memory, so you must free the memory when the buffer is not required. This same pool of memory is used to store onboard programs in RAM. As the number or size of buffers increases, the available memory for storing onboard programs decreases.
Onboard Buffers Algorithm
The following figure shows the algorithm for using onboard buffers to store data applicable to both C/C++ and LabVIEW code.