Summary: In this exercise, the objective is to use MAX to examine the current DAQ configuration and test the device interactively. Complete the following steps to examine the configuration for the DAQ device in the computer using MAX and use the test routines in MAX to confirm operation of the device.
Tools>>Measurement & Automation
Explorer in LabVIEW. The utility searches the
computer for installed National Instruments hardware and
displays the information.
![]() Figure 1 |
Show Help/Hide Help button in the top
right corner of MAX to hide the online help and show
the DAQ device information.
![]() Figure 2 |
![]() Figure 3 |
Self Calibrate to calibrate
the DAQ device using a precision voltage reference
source and update the built-in calibration
constants. When the device has been calibrated, the
Self Calibration information updates in the
Calibration tab.
Self-Test button to test the
device. This tests the system resources assigned to the
device. The device should pass the test because it is
already configured.
Test Panels button to test the
individual functions of the DAQ device, such as analog
input and output. The Test Panels dialog
box appears.
Analog Input tab to test the
various analog input channels on the DAQ
device. Channel Dev1/ai0 is connected to the
temperature sensor on the DAQ Signal
Accessory. Click the Start button to
acquire data from analog input channel 0. Place your
finger on the sensor to see the voltage rise. You
also can move the Noise switch to
On on the DAQ Signal Accessory to see
the signal change in this tab. When you are
finished, click the Stop button.
Analog Output tab to set up a
single voltage or sine wave on one of the DAQ device
analog output channels.
Change the Output Mode to
Sinewave Generation and click the
Start button. LabVIEW generates a
continuous sine wave on analog output channel 0.
Analog Out Ch0 to Analog In
Ch1.
Analog Input tab and change
the channel to Dev1/ai1. Click the
Start button to acquire data from
analog input channel 1. LabVIEW displays the sine
wave from analog output channel 0.
Digital I/O tab to test the
digital lines on the DAQ device.
Set lines 0 through 3 as output and toggle the
Logic Level checkboxes. As you toggle
the boxes, the LEDs on the DAQ signal accessory turn
on or off. The LEDs use negative logic.
Counter I/O tab to determine
if the DAQ device counter/timers are functioning
properly. To verify counter/timer operation, change
the Counter Mode tab to Edge
Counting and click the Start
button. The Counter Value increments
rapidly. Click Stop to stop the counter
test.
Close button to close the
Test Panel and return to MAX.
File>>Exit.
Comments, questions, feedback, criticisms?
"A full introductory course on programming with LabVIEW."