Presentation is loading. Please wait.

Presentation is loading. Please wait.

Unit 4 - I Said Stop!. Introduction New Topics Timing Parallelism Sequence of Operations New Features NXT terminals New Functions Wait For.

Similar presentations


Presentation on theme: "Unit 4 - I Said Stop!. Introduction New Topics Timing Parallelism Sequence of Operations New Features NXT terminals New Functions Wait For."— Presentation transcript:

1 Unit 4 - I Said Stop!

2 Introduction New Topics Timing Parallelism Sequence of Operations New Features NXT terminals New Functions Wait For

3 Timing In our previous example, the motor was not changing speeds because a new speed would be set before the motor could accelerate to the specified speed While loops always run as fast as possible We can force timing using the wait function

4 Wait For Delays the program a set number of seconds when a constant is attached to the Time(sec) terminal.

5 Parallelism Parallelism is a special feature of LabVIEW If functions are independent of each other they will run in parallel Functions dont have to be lined up for them to run in parallel This has an impact on the timing of code

6

7 Sequence of Operations Is setting an order of operations in the code so that one component may start before another A function can not start until data is at all of the ports This means we will have to connect functions to one another This can be done using NXT Terminals

8 NXT Terminals NXT Terminals allow us to connect functions together to determine a sequence of operations The right terminal is the output The left terminal is the input The terminals can be seen as pink in the diagram


Download ppt "Unit 4 - I Said Stop!. Introduction New Topics Timing Parallelism Sequence of Operations New Features NXT terminals New Functions Wait For."

Similar presentations


Ads by Google