Use the function generator channel to generate an 1 KHz sinusoidal waveform function and record data at the same time, using analog inputs. The output voltage-range of the outgoing signal is
Acquire analog input voltage data (at a sampling rate of 300kHz). The dynamic range of the incoming signal is -2.5 to 2.5 volts. You will use the session-based interface with the Digilent
Set up a continuous audio generation. This example uses, but does not require, a 5.1 channel sound system.
Generate analog output data using non-blocking commands. This allows you to continue working in the MATLAB command window during the generation. This is called background generation. Use
Acquire clock signals and analyze transitions, pulses, and compute metrics including rise time, fall time, slew rate, overshoot, undershoot, pulse width, and duty cycle. This example
Data Acquisition Toolbox provides functionality for hardware triggering a data acquisition (DAQ) session, for example starting acquisition from a DAQ device based on an external digital
Acquire analog input data using non-blocking commands. This allows you to continue working in the MATLAB command window during the acquisition. This is called background acquisition. Use
Acquire and display sound pressure data from a PCB® IEPE array microphone, Model 130E20. The sensor is recording sound pressure generated by a tuning fork at Middle C (261.626 Hz) frequency.
Set up continuous audio generation using multiple audio channels in a session. The signal, a sample of Handel's "Hallelujah Chorus" is broken up into contiguous segments and played back in
Generate signals on an analog output current channel for a NI device capable of current output using the Session based interface.
Acquire data from a National Instruments device available to MATLAB® from the command line using the Session based interface.
Acquire and display data from an accelerometer attached to a vehicle driven under uneven road conditions.
Acquire data from multiple analog input channels with MCC devices using the session-based interface.
Acquire bridge circuit voltage ratio data, then compute and plot strain values.
Save data acquired in the background to a file. Use the session-based interface and acquires analog input data using non-blocking commands. If you are using the legacy interface, refer to
how to acquire temperature data from a Resistive temperature device (RTD) and display the readings. The device is attached inside a PC case to monitor the internal temperature changes.
Generate data using a National Instruments device available to MATLAB® using the Session based interface.
Set up a continuous audio acquisition. This example uses a two-channel microphone.
Will show you how to synchronously generate and acquire voltage data (at a rate of 300 KHz). You will use the session-based interface with Digilent Analog Discovery hardware.
Read in data from thermocouples using NI devices that support thermocouple measurements using the Session based interface.
Use the function generator to generate an arbitrary waveform function at a rate of 1 KHz and record data at the same time, using an analog input channel. The output voltage-range of the
Generate analog output voltage data (at a rate of 300kHz). The output voltage-range of the outgoing signal is -5.0 to +5.0 volts. You will use the session-based interface with Digilent