Buffered Breakpoint Algorithm - National Instruments NI-Motion User Manual

Motion control
Table of Contents

Advertisement

Chapter 12
Synchronization
Configure the onboard buffer
Write the array of breakpoint
positions and the number of points
Configure breakpoint
Enable the breakpoint
Loop checking for buffered breakpoints usage
Update breakpoint array
Check the onboard buffer
Write buffer (optional)
Write remaining breakpoint
positions to onboard buffer
NI-Motion User Manual

Buffered Breakpoint Algorithm

Figure 12-1 shows the basic algorithm for implementing buffered
breakpoints.
Write buffer
for buffered mode
(optional)
Check the number of
breakpoints consumed
Clear buffer
Load Breakpoint Array
Set the buffer type to breakpoint positions
Total Points is the total number of
breakpoint positions you want to load
Buffer Size is the size of the buffer you
want to create on the device.
Set Old Data Stop to TRUE if you do not
want old data to be used
Requested Interval = 0
Figure 12-1. Buffered Breakpoint Algorithm
12-4
ni.com

Advertisement

Table of Contents
loading

Table of Contents