2-2 - Edited-10/18/2008 Sudeep Raul Week 2 Exercise 1(a)...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Edited-10/18/2008 Sudeep Raul Week 2 Exercise 1(a) Aim To understand the use of RTD temperature sensor To understand the use of Sub VI’s To create a new sub VI To complete this exercise, you will need the IC temperature sensor available on the BNC-2120, SCB-68, or DAQ Signal Accessory. Front Panel 1. Select File»New to open a new front panel. 2. Create the thermometer indicator, as shown on the following front panel. a. Select the thermometer on the Controls»Numeric Indicators palette and place it on the front panel. b. Type Temperature inside the label and click outside the label or click the Enter button on the toolbar. c. Right-click the thermometer and select Visible Items»Digital Display from the shortcut menu to display the digital display for the thermometer. 3. Create the vertical switch control. a. Select the vertical toggle switch on the Controls»Buttons palette. b. Type Temp Scale inside the label and click outside the label or click the Enter button.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
c. Use the Labeling tool to place a free label, deg C, next to the TRUE position of the switch, as shown in the previous front panel. d. Place a free label, deg F, next to the FALSE position of the switch. Block Diagram 4. Select Window»Show Diagram to display the block diagram. 5. Build the following block diagram. a. Place the DAQ Assistant Express VI located on the Functions»Input palette. Make the following configurations in the DAQ Assistant configuration wizard. i. Select Analog Input as the measurement type. ii. Select Voltage . iii. Select ai0 as the channel from your data acquisition device. iv. In the Task Timing section, select Acquire 1 sample. b. Place the Convert from Dynamic Data function located on the Functions»Signal Manipulation and select Single Scalar as the Resulting data type. c. Place the multiply function located on the Functions»Numeric palette. This function multiplies the voltage that the AI Sample Channel VI returns by 100.0 to obtain the Celsius temperature. d. Select Functions»Select a VI , navigate to the Convert C to F VI, which you built in Exercise 2a, and place the VI on the block diagram. This VI converts the Celsius readings to Fahrenheit. e. Place the Select function located on the Functions»Comparison palette. This function returns either the Fahrenheit (FALSE) or Celsius (TRUE) temperature value, depending on the value of Temp Scale .
Background image of page 2
f. Right-click the y terminal of the multiply function, select Create»Constant , type 100, and press the <Enter> key to create another numeric constant. g. Use the Positioning tool to place the icons as shown in the previous block diagram and use the Wiring tool to wire them together. Tip To identify terminals on the nodes, right-click the icon and select Visible Items»Terminal from the shortcut menu to display the connector pane. 6.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 12

2-2 - Edited-10/18/2008 Sudeep Raul Week 2 Exercise 1(a)...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online