Presentation is loading. Please wait.

Presentation is loading. Please wait.

DAQmx(Multi-channels). 2 Data Acquisition and Waveforms TOPICS Plug-in DAQ devices Data Acquisition in LabVIEW Analog Input Data Logging Analog Output.

Similar presentations


Presentation on theme: "DAQmx(Multi-channels). 2 Data Acquisition and Waveforms TOPICS Plug-in DAQ devices Data Acquisition in LabVIEW Analog Input Data Logging Analog Output."— Presentation transcript:

1 DAQmx(Multi-channels)

2 2 Data Acquisition and Waveforms TOPICS Plug-in DAQ devices Data Acquisition in LabVIEW Analog Input Data Logging Analog Output Counters Digital I/O

3 3 NI-DAQ7.3 Task Global Channel Task Physical Channel MAX

4 4 NI-DAQ7.3 Traditional NI-DAQ NI- DAQmx NI-Switch

5 5 Overview and Configuration Fundamental task of a DAQ system is to measure or generate real-world physical signals DAQ system consists of: Transducers Signal Conditioning Plug-in DAQ device Driver Software

6 6 Measurement Software Framework NI-DAQ contains: Traditional NI-DAQ NI-DAQmx

7 7 DAQ Hardware Configuration Measurement & Automation Explorer (MAX)

8 8 Channels and Tasks Signals ai 0 ai 1 ai 2 Sine Wave 1 Sine Wave 2 Sine Wave 3 Channel names Tasks Timing and Triggering

9 9 NI-DAQmx versus Traditional NI- DAQ FeatureNI-DAQmxTraditional NI- DAQ Test Panels DAQ Assistant with code generation no On-line diagnostics Scaling to voltage and physical units 50 kS/s with single point I/O Measurement multithreading Instant calibration Automatic selection of optimal gains Guaranteed lossless data 650 Alliance members Integration with LabVIEW Developer Exchange discussion forum Compatible with Legacy ISA Boards no Accuracy Performance Productivity Quality Best Good Fair Compatibility

10 10 Data Acquisition in LabVIEW Traditional NI-DAQ Specific VIs for performing: Analog Input Analog Output Digital I/O Counter operations NI-DAQmx Next generation driver: VIs for performing a task One set of VIs for all measurement types

11 11 NI-DAQmx Data Acquisition Single set of VIs used to perform analog I/O, digital I/O, and counter operations DAQ Assistant Express VI Quickly and easily program the DAQ device Creates a local task Most applications can use the DAQ Assistant Express VI

12 12 NI-DAQmx Data Acquisition Task Types Measurement type can be: Analog Input Analog Output Counter Input Counter Output Digital I/O

13 13 Analog Input Analog Input task is specific to the measurement

14 14 Analog Input Task Timing and Triggering Configures the number of samples and sample rate for the task Configures the start and reference triggers for the task

15 15 Data Logging It is often necessary to permanently store data that is acquired from the DAQ device LabVIEW includes the ability to read and write a LabVIEW Measurement File LabVIEW Measurement File is an ASCII text file

16 16 Analog Output Analog Output task is specific to the generation type

17 17 Analog Output Task Timing and Triggering Configures the number of samples and sample rate for the task Configures the start and reference triggers for the task

18 18 Counters A counter is a digital timing device Typical uses of a counter: Event counting Frequency measurement Period measurement Position measurement Pulse generation Gate Source Output Count Register Count register – Stores the current count of the counter Source – Input that causes the counter to increment each time it toggles Gate – Input that is used to enable or disable the function of the counter Output – Signal that generates pulses or a series of pulses

19 19 Digital Input and Output Digital I/O can read from or write to a line or an entire digital port A digital port is a collection of digital lines

20 20 Summary MAX is the primary configuration and testing utility that is available for the DAQ device. The DAQ Assistant is used to configure the DAQ device and perform data acquisition. Most application can use the DAQ Assistant. For applications that require advanced timing and synchronization use the VIs that come with NI- DAQmx. The DAQ Assistant can perform Analog Input, Analog Output, Digital I/O, and Counter operations.

21 21 NI-DAQmx DAQ Assistant. Increased performance-faster single point I/O and multithreading( ). Simple and intuitive API. DAQ property nodes and waveform support. Similar API for all programming languages. Trad. DAQDAQmx

22 22 Task Global Channel task global channel global channel task task global channels multi-channel

23 23 Task Physical Channel Task MAX Physical Channel LabVIEW PSGlobal Channel MAX

24 24 MAX Global Channel

25 25 MAX Task

26 26 Using the task. Using multiple global channels. Using multi-thready with physical channel. Using the Write LVM VI.

27 27 Front PanelBlock Diagram Single-channel Measurement Program -Using Task

28 28 Front Panel Block Diagram Multi-channel Measurement Program -Using Task

29 29 Front PanelBlock Diagram Single-channel Measurement Program -Using global channel

30 30 Front PanelBlock Diagram Multi-channel Measurement Program -Using global channel

31 31 Single-channel Measurement Program -Using Physical Channel Front Panel Block Diagram

32 32 Multi-channel Measurement Program -Using Physical Channel ?!

33 33 Task Global Channel

34 34 for Multi-channels

35 35


Download ppt "DAQmx(Multi-channels). 2 Data Acquisition and Waveforms TOPICS Plug-in DAQ devices Data Acquisition in LabVIEW Analog Input Data Logging Analog Output."

Similar presentations


Ads by Google