Labview code, Labview code -21 – National Instruments NI-Motion User Manual

Page 229

Advertising
background image

Chapter 14

Onboard Programs

© National Instruments Corporation

14-21

NI-Motion User Manual

LabVIEW Code

Figure 14-11. Continuously Executing Onboard Program in LabVIEW

1

Begin Program Storage

2

Set Operation Mode

3

Load Velocity in RPM

4

Insert Program Label

5

Load Target Position

6

Select MOMO

7

Wait on Condition

8

Start Motion

9

Select MOMO

10 Wait on Condition
11 Jump to Label on Condition
12 End Program Storage
13 Motion Error Handler

2

5

6

1

4

11

13

8

10

7

12

9

3

Advertising