![NI PXI-4204 Скачать руководство пользователя страница 37](http://html1.mh-extra.com/html/ni/pxi-4204/pxi-4204_user-manual_1685515037.webp)
Chapter 3
Using the NI PXI-4204
©
National Instruments Corporation
3-13
General Discussion of Typical Flow Chart
The following sections briefly discuss some considerations for a few of the
steps in Figure 3-5. The purpose of these sections is to provide an overview
of some of the options and features available when programming with
NI-DAQmx.
Creating a Task Using DAQ Assistant or
Programmatically
When creating an application, you must first decide whether to create the
appropriate task using the DAQ Assistant or programmatically in the ADE.
Developing your application using NI-DAQmx gives you the ability to
configure most settings, such as measurement type, selection of channels,
input limits, task timing, and task triggering using the DAQ Assistant tool.
You can access the DAQ Assistant either through MAX or through your
NI ADE. Choosing to use the DAQ Assistant can simplify the development
of your application. NI recommends creating tasks using the DAQ
Assistant for ease of use, when using a sensor that requires complex
scaling, or when many properties differ between channels in the same task.
If you are using an ADE other than an NI ADE, or if you want to explicitly
create and configure a task for a certain type of acquisition, you can
programmatically create the task from your ADE using function or VI calls.
If you create a task using the DAQ Assistant, you can still further configure
the individual properties of the task programmatically using function calls
or property nodes in your ADE. NI recommends creating a task
programmatically if you need explicit control of programmatically
adjustable properties of the DAQ system. Programmatically creating tasks
is also recommended if you are synchronizing multiple devices using
master and slave tasks. Refer to the
for more information about synchronizing multiple NI PXI-4204 devices.
Programmatically adjusting properties for a task created in the DAQ
Assistant overrides the original settings only for that session. The changes
are
not
saved to the task configuration. The next time you load the task, the
task uses the settings originally configured in the DAQ Assistant.