DOC PREVIEW
GVSU EGR 345 - Introduction to LabVIEW and the DAQ cards

This preview shows page 1-2 out of 5 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 5 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 5 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 5 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Introduction to LabVIEW and the DAQ cardsJosh BensonSept. 12 20001. IntroductionThe purpose of this lab exercise was to learn to use computers equipped with data acquisition cards and the LabVIEW programming language.1.1 EquipmentThe equipment used in this lab included:Windows PC with LabVIEW softwareNational Instruments PCI-1200 data acquisition card and interface cableDigital multi-meterCadet circuit trainer breadboard and signal generatorGrand Valley State UniversityPadnos School of EngineeringEGR 345 Lab 2Introduction to LabVIEW and the DAQ cardsJosh BensonSept. 12 20001. IntroductionThe purpose of this lab exercise was to learn to use computers equipped with data acquisition cards and the LabVIEW programming language.1.1 EquipmentThe equipment used in this lab included:Windows PC with LabVIEW softwareNational Instruments PCI-1200 data acquisition card and interface cableDigital multi-meterCadet circuit trainer breadboard and signal generator10K and 2K resistorsOne LED2. Procedure2.1 Input WaveformThe signal generator on the circuit trainer was connected to an analog input on the DAQ board (ACH0) and the AIGND pin was connected to the ground of the circuit trainer. A VI was created in LabVIEW to input the waveform and display it on a waveform chart. This VI is shown in Fig. 1. The filename is lab2_2.VI.Figure 1: LabVIEW program to input and display a waveformDiagram: Front Panel:The signal generator was set to output a low frequency sinusoidal waveform. The program in Fig. 1 was run and observations were recorded.2.1.1 ObservationsInitially, the waveform chart showed a sinusoid wave with the peaks and valleys cut off. The output level of the signal generator was reduced until the waveform appeared correct with rounded peaks and valleys.2.2 Voltage ControlThe digital multi-meter’s positive lead was connected to the analog output pin DAC0OUT (pin 10) on the DAQ card. The negative lead was connected to the AGND (pin 11) pin. A LabVIEW program was created to control the voltage level of the analog output. This program is shown in Fig. 2. The filename is lab2_3.VI.Figure 2: LabVIEW program to control voltage levelDiagram: Front Panel: The program in Fig. 2 was run, and the knob on the front panel was manipulated. The observations recorded are described in the next section.2.2.1 ObservationsAs the knob was manipulated, the front panel meter read the same value as the knob. Thedigital multi-meter also read the same value as the knob, within .05 V. 2.3 Digital Input/OutputFor this portion of the lab, the circuits shown in Fig. 3 were constructed on the circuit trainer board and connected to the indicated pins on the DAQ card. Figure 3: Digital Circuits. DAQ card pin #’s in parenthesisInput: Output:2K +5V PB0 (22)PA0 (14) DGND (13)DGND(13) 10KThe LabVIEW program shown in Fig. 4 was constructed and run.Figure 4: LabVIEW Digital I/O programDiagram:Front Panel: Observations were recorded as the program ran.2.3.1 ObservationsWhen this program was running, manipulating the toggle switch on the Front Panel to theon position caused the LED on the circuit board to light. When the switch on the circuit board was placed in the on position the light on the Front Panel lit up.3. ConclusionsThrough the completion of this lab exercise we have learned the basic tools necessary to perform data acquisition and control using a PC with LabVIEW software. Specifically we have learned how to use the analog and digital inputs on a DAQ


View Full Document

GVSU EGR 345 - Introduction to LabVIEW and the DAQ cards

Documents in this Course
Y Axis

Y Axis

2 pages

Load more
Download Introduction to LabVIEW and the DAQ cards
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Introduction to LabVIEW and the DAQ cards and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Introduction to LabVIEW and the DAQ cards 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?