Configuring Ai Modes In Software; Traditional Ni-Daq (Legacy); Ni-Daqmx - National Instruments PXI-6070E User Manual

Table of Contents

Advertisement

Configuring AI Modes in Software

Traditional NI-DAQ (Legacy)

NI-DAQmx

© National Instruments Corporation
You can program channels on an E Series device to acquire in different
modes, but once a channel mode is specified, it cannot be reused for another
mode. For example, to configure AI 0 for DIFF mode and AI 1 for RSE
mode, configure AI 0 and AI 8 in DIFF mode and AI 1 and AI GND in RSE
mode. In this configuration, AI 8 is not used in a single-ended
configuration.
To enable multi-mode scanning in LabVIEW using Traditional NI-DAQ
(Legacy), use the coupling & input config control of the AI Config VI.
This input has a one-to-one correspondence with the channels control of
the VI. You must list all channels either individually or in groups of
channels with the same input configuration. For example, if you want AI 0
to be differential, and AI 1 and AI 2 to be RSE, Figure 2-13 demonstrates
how to program this configuration in LabVIEW.
To enable multi-mode scanning using NI-DAQ functions, call the
function for each channel.
AI_Configure
To enable multi-mode scanning in LabVIEW using NI-DAQmx, use the
NI-DAQmx Create Virtual Channel.vi
must use a new VI for each channel or group of channels configured in a
different input mode. In Figure 2-14, channel 0 is configured in differential
mode, and channel 1 is configured in RSE mode.
Figure 2-13. AI Config VI
2-29
Chapter 2
Analog Input
of the NI-DAQmx API. You
E Series User Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Daq e series

Table of Contents