Table 5-2. Programming A Task In Labview - National Instruments Isolated Analog Input Device NI PXI-4224 User Manual

Data acquisition (daq) devices with integrated signal conditioning
Table of Contents

Advertisement

Chapter 5
Using the NI PXI-4224
Flowchart Step
Create Task in DAQ Assistant
Create a Task
Programmatically
(optional)
Create AI Voltage Channel
(optional)
Adjust Timing Settings
(optional)
Configure Channels
(optional)
Start Measurement
Read Measurement
Analyze Data
Display Data
NI PXI-4224 User Manual

Table 5-2. Programming a Task in LabVIEW

Create a
DAQmx Task Name Constant
Controls»All Controls»I/O»DAQmx Name Controls
subpalette, right-click it, and select
.
Assistant)
DAQmx Create Task.vi
All Functions»NI Measurements»DAQmx - Data
Acquisition»DAQmx Advanced Task Options—This VI is
optional if you created and configured your task using the DAQ
Assistant. However, if you use it in LabVIEW any changes you
make to the task will not be saved to a task in MAX.
DAQmx Create Virtual Channel.vi
default)—This VI is optional if you created and configured
your task and channels using the DAQ Assistant.
DAQmx Timing.vi
optional if you created and configured your task using the DAQ
Assistant.
DAQmx Channel Property Node—Refer to the
Channel Property Node in LabVIEW
information. This step is optional if you created and fully
configured the channels in your task using the DAQ Assistant.
DAQmx Start Task.vi
DAQmx Read.vi
Some examples of data analysis include filtering, scaling,
harmonic analysis, or level checking. Some data analysis tools
are located on the Functions»Signal Analysis subpalette and on
the Functions»All Functions»Analyze subpalette.
You can use graphical tools such as charts, gauges, and graphs
to display your data. Some display tools are located on the
Controls»Numeric Indicators subpalette and Controls»
All Controls»Graph subpalette.
5-6
VI or Program Step
located on the
New Task (DAQ
located on Functions»
(Sample Clock by default)—This VI is
section for more
(AI Voltage by
Using a DAQmx
ni.com

Advertisement

Table of Contents
loading

Table of Contents