Академический Документы
Профессиональный Документы
Культура Документы
Exercise 3-4
Objective
BNC-2120 Configuration
1. Connect the Sine/Triangle BNC connector in the Function Generator
section to the BNC connector of channell in the Analog Inputs section.
2. Verify that the Sine/Triangle switch is in the sine position.
3. Verify that the BNCffhermocouple
Input\Finite
3-11
Lesson 3
Right-click the samples per channel and rate inputs and select
Create-Control.
-
DAQmx Read VI
-
4. Arrange the items on the front panel similar to Figure 3-8. Do not alter
the x- and y-axis scales.
3-12
ni.com
Lesson 3
Test
1. Output a sine wave with a frequency of 100 Hz from the function
generator on the BNC-2120.
2. Set the front panel controls of the Finite Buffered Acquisition VI to the
following values:
Rate: 10000
Note If your data does not appear, troubleshoot the VI. If that doesn't reveal the
problem, then try to build a task in MAX. If you still have trouble, ask for additional
assistance.
Waveform Analysis
1. Save an additional copy of this VI.
3-13
Lesson 3
Move the Simple Error Handler VI so that the error clusters run
through all the VIs and enforce dataflow.
3-14
ni.com
Lesson 3
Test
1. From the front panel, run the VI and observe the resulting values.
2. Adjust the amplitude of the sine wave by turning the Amplitude Adjust
dial on the BNC-2120, and observe how it affects the results of the VI
the next time you run it.
3. Experiment with other amplitude and level measurements.
3-15