From the course: Data Acquisition with LabVIEW

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Solution: Acquire and display a signal

Solution: Acquire and display a signal - LabVIEW Tutorial

From the course: Data Acquisition with LabVIEW

Solution: Acquire and display a signal

(upbeat music) - [Instructor] This is how I solved the challenge to acquire and display a signal. Starting from a blank VI, I'll be using the DAQmx VI's a lot, so I'll open that palette, under measurement I/O, and press the pin icon to hold that palette open. Now, the first VI I'll need is the create virtual channel VI and I'll right click on the physical channel's input terminal, create a constant, and use that to select AI channel zero. Next, I'll add a timing VI, connect the task and error wires. I'll create a constant for the sample rate, and set that to 20 thousand samples per second. And I'll create a constant for the sample mode, and set that to continuous samples. After configuring timing, I'll start the task with the start VI. And then I'll read samples from it using the read VI. I'll use the polymorphic selector on the read VI to choose analog input for single channel, but multiple samples, and I'll accept…

Contents