From the course: Data Acquisition with LabVIEW
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
On demand analog input - LabVIEW Tutorial
From the course: Data Acquisition with LabVIEW
On demand analog input
- [Tutor] To demonstrate using the DACmx API, I'll build a very simple task to acquire a single analog input sample on demand with software timing, starting from a blank VI. The DAQmx API can be found on the functions palette, under Measurement IO, NI DAQmx. And since most of the VI's I'll be using are on this sub palette, I'll click the pin icon to hold it open. The first one I'll need is the DAQmx create virtual channel VI. This is what's called a polymorphic VI, meaning there are multiple instances of it with different inputs and outputs, and it will select which one to use based on the channel type. By default, it's configured to create the virtual channel for an analog input voltage measurement but if I click this selector, I can choose among all the different types of analog and digital and counter, inputs and outputs. For this example, I'll leave it as analog input voltage. If I press Control + H to bring up the…
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)
-
-
-
-
-
-
-