Adac channel config library, Adac set channel list – Measurement Computing ADAC-LVi User Manual
Page 130

Chapter 2 Channel Config Library
ADAC LabVIEW VI
124
ADAC Channel Config Library
•
ADAC Set Channel List
•
ADAC Get Channel List
•
ADAC Get Num of Chans
ADAC Set Channel List
This VI function sets the active channel and gain setting for the specified device. If a
device supports gain settings, the list is considered a channel and gain list, and must be
set appropriately. See examples below.
Device Handle (0) Device Handle is a numeric value that is used to identify the device
subsystem. The default Device Handle is 0.
CHANNEL LIST The CHANNEL LIST cluster is used to set the active channel and
gain setting for the specified device.
Array Type Array Type
0:Use string list
1:Use array of numbers
String Channel List (empty) String Channel List represents the character
string list of channels.
For boards that support input gain the channel list also specifies a separate gain
value for each channel. Gains are specified in parentheses after the channel
number. For example, "0(1),1(8),2(4)" is interpreted as channel 0 at a gain of 1,
channel 1 at a gain of 8 and channel 2 at a gain of 4.
Examples:
string without gains
"0,1,2,3,4,5,6,7"
string with gains "0(1),1(2),2(4),3(8),4(1),5(2),6(4),7(8)"