![NI PXI-4204 Скачать руководство пользователя страница 45](http://html1.mh-extra.com/html/ni/pxi-4204/pxi-4204_user-manual_1685515045.webp)
Chapter 3
Using the NI PXI-4204
©
National Instruments Corporation
3-21
Synchronizing the NI PXI-4204 Using LabVIEW
This section describes in more detail the steps shown in the general
synchronizing flowchart in Figure 3-7. For more information, or for further
instructions, select
Help»VI, Function, & How-To Help
from the
LabVIEW menu bar.
Note
Except where otherwise stated, the VIs in Table 3-5 are located on the
Functions»
All Functions»NI Measurements»DAQmx - Data Acquisition
subpalette and
accompanying subpalettes in LabVIEW.
Table 3-5.
Synchronizing the NI PXI-4204 Using LabVIEW
Flowchart Step
VI or Program Step
Create a Master Task (optional)
DAQmx Create Task.vi
Create Master AI Voltage
Channels
DAQmx Create Virtual Channel.vi
(AI Voltage by default)
Configure Master Channels
Use a DAQmx Channel Property Node, refer to the
DAQmx Channel Property Node in LabVIEW
section for more
information.
Configure Master Timing
DAQmx Timing.vi
(Sample Clock by default)
Get Master Timebase Source
and Rate from Master Task
Use a DAQmx Timing Property Node to get
MasterTimebase
.
Src
and
MasterTimebase
.
Rate
.
Create a Slave Task (optional)
DAQmx CreateTask.vi
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.
Create Slave AI Voltage
Channels
DAQmx Create Virtual Channel.vi
(AI Voltage by default)
Configure Slave Channels
DAQmx Channel Property Node, refer to the
Channel Property Node in LabVIEW
section for more
information.
Configure Slave Timing
DAQmx Timing.vi
(Sample Clock by default)
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.