Figure 14-12. reading an indirect variable, Onboard buffers, Figure 14-13. onboard buffer data flow – National Instruments NI-Motion User Manual

Page 233: Onboard buffers -25

Advertising
background image

Chapter 14

Onboard Programs

© National Instruments Corporation

14-25

NI-Motion User Manual

Figure 14-12. Reading an Indirect Variable

Using indirect variables can be very useful in looping in onboard programs,
as well as dynamically changing the input values to functions.

Onboard Buffers

You can use the memory on the NI motion controllers to create
general-purpose buffers to read and write data, as shown in Figure 14-13.

Figure 14-13. Onboard Buffer Data Flow

buffer in

Copies captured
position to buffer

External

trigger

Latches position

on external trigger

Reads the captured

position

Reads data from the

buffer asynchronously

I/O

reaction

task

Host

application

Advertising