Chapter 12
Synchronization
12-28
ni.com
Buffered High-Speed Capture Algorithm
Figure 12-16.
Buffered High-Speed Capture Algorithm
Configure a buffer
on the controller
Configure high-speed capture
Enable high-speed capture
Read buffer (optional)
Read captured positions to free
the buffer for more data to be written
Check buffer on the device
(optional)
Check number of captured
positions available to read
Loop checking for captured data array usage
•
Set the buffer type to be high-speed
capture positions
•
Total Points
is the total number of
high-speed capture positions you
want to store
•
Buffer Size
is the size of the buffer
you want to create on the board
•
Set
Old Data Stop
to TRUE if you do
not want old data to be used
Read captured position