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 - 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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Analog input modes6m 36s
-
(Locked)
Acquisition timing4m 54s
-
(Locked)
Channels and tasks1m 50s
-
Analog input with DAQ Assistant5m 58s
-
(Locked)
NI-DAQmx API2m 43s
-
(Locked)
On demand analog input4m 17s
-
(Locked)
Finite analog input4m 32s
-
(Locked)
Continuous analog input6m 4s
-
(Locked)
Multiple analog input channels4m 40s
-
(Locked)
Challenge: Acquire and display a signal1m 59s
-
(Locked)
Solution: Acquire and display a signal6m 16s
-
(Locked)
-
-
-
-
-
-
-