Temperature Measurements and Digital Alarming – This video shows temperature measurement acquisition with CompactDAQ thru the 9211 C Series module. We acquire and display scaled data thru a graph in LabVIEW and program an alarm value that will generate a digital output connected to one of the LEDs in the 9472 module.
Vibration Measurements– This video shows vibration measurement acquisition thru an accelerometer connected directly to the 9234 C Series module plugged into a CompactDAQ chassis. The VI shows the acquired data in two graphs, one in the time domain and one in the frequency domain.
Simultaneous analog input and output - This video shows the 9263 module generating a sine tone connected to a speaker. Then we use the 9233 dynamic signal acquisition module to simultaneously acquire the sound coming off the speaker thru 2 microphones. In LabVIEW we acquire and show the phase difference between the 2 microphone signals and we move the speaker closer and farther away from the microphones.
PID Closed Loop Control – This video shows a closed loop control application using CompactDAQ and 2 C Series modules. We have a light deflector and we will control it’s position with the air blowing from a small fan, we modulate the power of the fan with one of the analog output voltage channels from the 9263 module. We monitor the position of the deflector with a hall-effect sensor powered by small batteries and reading the voltage changes thru one on the analog input channels of the 9215 module. This VI requires simplepidcdaq.vi to run.
Simultaneous Dynamic Signal Phase Measurement – This video shows the generation of a sine wave thru the analog output channel of the 9236 connected to a speaker, then we acquire simultaneously from 2 microphones connected to the analog inputs of the 9233 module. We use LabVIEW to generate the sine wave and acquire the two signals and extract the phase measurement from each to calculate the phase difference or angle between them.
Noise Cancellation application – This video shows the 9263 module generating simultaneously 2 sine waves connected to 2 speakers. Then we use the 9233 dynamic signal acquisition module to acquire the sound coming off the speakers thru a microphone connected to channel 0. We use LabVIEW to generate the 2 sine waves and control the phase for each signal, then we measure the change in the amplitude or RMS value as the cancellation effect happens when the signals go out of phase.
Proximity Sensing and Control with Digital I/O:This video shows digital proximity sensing and control with Compact DAQ and the 9401 C Series module. In this example we show sensing of a magnet with a Hall Effect sensor. The sensor outputs digital values that are read with the 9401. Digital output on the 9401 is then used to actuate a relay/solenoid to respond to the magnet’s proximity.
Various LabVIEW development configurations may be needed to run these examples. Please contact National Instruments if you have questions regarding requirements to run these examples.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.