Chapter 5
Using the NI PXI-4224
©
National Instruments Corporation
5-11
Other Application Documentation and Material
The following locations provide more information that you may find useful
when setting up or connecting signal sources or programming your
application.
•
LabVIEW Example Programs, available by selecting
Help»
Find Examples
from the opening screen. Most of the examples
applicable to the NI PXI-4224 are located in
Hardware Input and
Output»DAQmx»Analog Measurements
and
Hardware Input and
Output»DAQmx»Synchronization»Multi-Device
.
•
PXI-4224 Supported Properties
in the LabVIEW
VI, Function,
& How-To Help
.
•
Application Note 025:
Field Wiring and Noise Considerations for
Analog Signals
available at
ni.com/info
using the info code
rdfwn3
.
Set Slave to Use Timebase
from Master
Use a DAQmx Timing Property Node to set
MasterTimebase.Src
and
MasterTimebase.Rate
to the
values retrieved from the master task in the
Source and Rate from Master Task
step.
Configure Slave Triggering
DAQmx Trigger.vi
(Start Digital Edge) use
/MasterDevice/
ai/StartTrigger
as the source, substituting the master device
identifier for
MasterDevice
.
Start Slave Measurement(s)
DAQmx Start Task.vi
Start Master Measurement
DAQmx Start Task.vi
Read Measurement
DAQmx Read.vi
Continue Sampling
For continuous sampling, use a While Loop. You also need to set
the sample mode to
Continuous Samples
in the
steps. To do this,
right-click the terminal of the
DAQmx Timing.vi
labeled
sample mode
and click
Create»Constant
. Click the checkbox
and select
Continuous Samples
.
Clear Master Task
DAQmx Clear Task.vi
Clear Slave Task
DAQmx Clear Task.vi
Table 5-3.
Synchronizing the NI PXI-4224 Using LabVIEW (Continued)
Flowchart Step
VI or Program Step