Вы находитесь на странице: 1из 8

BAHRIA UNIVERSITY KARACHI CAMPUS

Department of Electrical Engineering

INSTRUMENTATION & MEASUREMENTS

LAB EXPERIMENT # 13

Frequency Measurement in LABVIEW by using DAQ

OBJECTIVE: -

 Introduction to DAQ
 Frequency measurement in LabVIEW

EQUIPMENT: -

1. LABVIEW Software
2. Computer
3. DAQ

DATA ACQUISITION: -

Data acquisition (DAQ) is the process of measuring an electrical or physical phenomenon such as
voltage, current, temperature, pressure, or sound with a computer. A DAQ system consists of sensors,
DAQ measurement hardware, and a computer with programmable software. Compared to traditional
measurement systems, PC-based DAQ systems exploit the processing power, productivity, display,
and connectivity capabilities of industry-standard computers providing a more powerful, flexible, and
cost-effective measurement solution.

Fig 13.1 Data Acquisition System

46
APPLICATIONS: -

 Research and Analysis


 Design Validation and Verification
 Manufacturing and Quality Test
 Diagnostics and Repair
 PC-Based Control and Automation

PROCEDURE:

1. Launch the DAQ Assistant


You can launch the DAQ Assistant in several ways. Complete the following steps to launch the
DAQ Assistant from a LabVIEW block diagram.

Open LabVIEW and create a New VI. Switch to the block diagram (Ctrl+E).
The DAQ Assistant Express VI can be found on the Functions palette by going to Express »
Input. Place the DAQ Assistant on the block diagram by dragging and dropping it from the
Functions palette. The Assistant should automatically launch when you drop the VI on the
diagram.

Figure 13.2: DAQ block in functions palette


2. Create the Task
In this example, we will configure a simple voltage analog input measurement. For other
measurement and signal generation types, you would follow similar steps.

47
On the first screen, select Acquire Signals and then Analog Input for your Measurement Type.
Next, select Voltage.

Figure 13.3: Acquire Signal

The next screen lets you select the physical channel (or channels) for which you are creating this
task. All supported data acquisition hardware devices should appear in the tree control, and you can
expand them to view a list of the physical channels that you can select for your task. To select more
than one channel, hold down the Ctrl button while clicking on the channel names.

48
Figure 13.4: Select physical channel
Click Finish to move on to the configuration stage.
Enter the following settings to the voltage properties.

49
Figure 13.5: Voltage properties

Select tone measurement from signal analysis.

50
Figure 13.6: Select tone measurement

Figure 13.7: Select frequency

51
Construct the block diagram given in figure 13.7.

Figure 13.7: Block Diagram

Enclosed the upper block diagram in a while loop.


See the results in figure 13.7.

Figure 13.7: Result

52
EXERCISE:

Q1. Measure the given frequencies by using DAQ and attached the snap shots of their graphs.
a. 500 Hz
b. 1000 Hz
c. 1MHz

CONCLUSION:

Teacher Signature: ________________________

Student Registration No: ________________________

53

Вам также может понравиться