gray Front Panel window. The Front Panel can be used to represent the inputs and outputs going into a program. Instead of using sensors, motors, and sounds, the Front Panel allows for numerical and text-based inputs and outputs. Instead of a Functions Palette, the Front Panel has a Controls Palette. It can be opened similarly to the way you opened the Functions Palette in Learning Center. Select the NXT Robotics options and you should see something like the screenshot below at left. If you are running LabVIEW without NXT, use the Express menu; the options are shown at right. For this homework problem, we will work only with the Numeric menu under NXT Robotics (or the Num Ctrls/Num Inds menus under Express). The icons in this menu represent all the different “controls” (LabVIEW’s name for inputs) and “indicators” (LabVIEW’s name for outputs). They can be numeral-based (type in a number) or graphical (set a value using a knob, dial, or slide). Click and drop two controls (inputs) and four indicators (outputs) onto your Front Panel. Then switch over to your Block Diagram window. Your Front Panel and Block Diagram should look like the following screenshot.
4 In the NXT Robotics menu in your Functions Palette in the Block Diagram, enter Programming >> Numeric . (In the Express menu, enter Arithmetic & Comparison >> Numeric .) The icons here represent the possible mathematical operations in LabVIEW. Drop an “Add” icon into your Block Diagram. Using Context Help, you should see that the Add operation requires two inputs and
You've reached the end of your free preview.
Want to read all 5 pages?
- Fall '14