Labview And The Virtual Channel String - National Instruments Module SCXI-1125 User Manual

National instruments module user's manual
Hide thumbs Also See for Module SCXI-1125:
Table of Contents

Advertisement

Chapter 5
Using the SCXI-1125
Note
Repeating channels or having channels out of sequence in a scan list is not supported
on all SCXI modules. Please refer to the manual of each module for information on this
feature.
SCXI-1125 User Manual
The last parameter, channels, is the list of channels that are scanned for
module z. It can have several formats:
ob x ! sc y ! md z !
ob x ! sc y ! md z !
list of input channels, inclusive.
ob x ! sc y ! md z ! cjtemp
You can scan this channel with other analog input channels. For
compatibility reasons, you can use
ob x ! sc y ! md z !
n5 represent single channels, not necessarily sequential, and n3 and n4
represent the endpoints of a sequential list of channels, inclusive. In
this case, channels n1 and n2 have explicitly been repeated in the
channel list. This random scanning format is not supported on all SCXI
modules.
y
z
ob x ! sc
! md
autozeroed channels, inclusive. In this case autozero channels cannot
be scanned with input channels or the cold-junction channel, but must
be scanned separately. This feature is useful for measuring offsets that
appear due to temperature drifts in the analog circuitry. You can
subtract these offsets from subsequent input readings to correct for
temperature drift. Refer to Appendix A, Specifications, for
determining how temperature drift can affect your measurement
accuracy.

LabVIEW and the Virtual Channel String

For LabVIEW, Measurement Studio, and Visual Basic, the channel string
can also contain virtual channels. For the SCXI-1125, these virtual
channels are analog input channels you create that have custom names
(called tags in Measurement Studio), that perform scaling, linearization,
autozeroing, and CJC transparently without additional code. Virtual
channels are useful when sensors requiring different scaling factors are
used on the same SCXI-1125 channel. Using virtual channels, sensors
needing special scaling can be used in a generic analog input application
without performing hard-coded scaling or linearization. If the scaling
changes or you want to connect a different sensor to the SCXI-1125, no
changes are needed in the application. All that is required is creating a
different virtual channel and using its name in the channel string.
n, where n is a single input channel.
n1:n2, where n1 and n2 represent a sequential
, where
mtemp
(n1, n2, n3:n4, n1, n5, n2), where n1, n2, and
n1:n2 where n1 and n2 represent a list of
! calgnd
5-26
is the CJC channel.
cjtemp
in place of
.
cjtemp
ni.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Module SCXI-1125 and is the answer not in the manual?

Questions and answers

Table of Contents