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:
Unit 4 - I Said Stop!
Introduction New Topics Timing Parallelism Sequence of Operations New Features NXT terminals New Functions Wait For
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
Wait For Delays the program a set number of seconds when a constant is attached to the Time(sec) terminal.
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
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
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