Buffered High-Speed Capture Algorithm - National Instruments NI-Motion User Manual

Motion control
Table of Contents

Advertisement

Chapter 12
Synchronization

Buffered High-Speed Capture Algorithm

Configure high-speed capture
Enable high-speed capture
Loop checking for captured data array usage
Read captured position
Check buffer on the device
Read captured positions to free
the buffer for more data to be written
NI-Motion User Manual
Configure a buffer
on the controller
(optional)
Check number of captured
positions available to read
Read buffer (optional)
Figure 12-16. Buffered High-Speed Capture Algorithm
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
12-28
ni.com

Advertisement

Table of Contents
loading

Table of Contents