<< Chapter < Page | Chapter >> Page > |
To facilitate saving files to the hard drive of the lab computers, each of the oscilloscopes has a networkinterface card installed.
For some applications, it is not practical to use an oscilloscope to analyze a signal.
For any of these applications, you would need a data acquisition (DAQ) system that measures a signal and thenwrites the data to a file for later analysis, or communicates with another system for real-time use.
In the next section of this lab, you will connect your signal (the function generator) to your signalconditioning equipment (the National Instruments SCXI) and data acquisition equipment (the PCI data acquisition card). You will useLabVIEW, a graphical programming language, to generate a simple Virtual Instrument (VI) to acquire data, chart the data on yourmonitor, and write the data to a file.
The SCXI is used to condition a signal. The SCXIs in this lab are equipped with modules that prepare the inputsignal by:
Once the signals are conditioned, they are multiplexed into a single signal. This signal is then passed by aserial cable to the data acquisition card in the PCI slot of the PC. The data acquisition card uses an analog to digital converter(ADC) to record the magnitude of an analog signal as a digitalvalue. As a digital value, these data can be interpreted by a computer.
Connect the function generator output to the BNC connector on Channel 0 (the first input) of the SCXI-1520module on the SCXI chassis.
1. Use the function generator to produce a 200 Hz sinusoidal wave.
2. Open LabVIEW 8.0.
3. Click Blank VI. Your new VI will open with two windows: the Front Panel (the user interface) and the BlockDiagram (which is where you develop your graphical code). These two windows are linked, and as you develop your VI, you will see thatsome objects that you place in one of the windows will appear simultaneously in the other window.
4. On either the front panel or the block diagram, click File>>Save As. Save your VI to the folder (on the desktop) that corresponds to your lab section. (Saving eitherwindow will save the content from both the front panel and block diagram windows.)
Notification Switch
Would you like to follow the 'Introduction to mechanical measurements' conversation and receive update notifications?