Easy I/O for DAQ Library Chapter 10
LabWindows/CVI Standard Libraries 10-40 © National Instruments Corporation
GetAILimitsOfChannel
short error = GetAILimitsOfChannel (short device, char channelString[],
char singleChannel[],
double initialHighLimitVolts,
double initialLowLimitVolts,
double *highLimitVolts,
double *lowLimitVolts);
Purpose
Returns the high and low limits for a particular channel in the channel string.
Parameters
Input device short
integer Assigned by configuration utility.
channelString string Analog input channels that are to be sampled.
singleChannel string A single channel of the channel string.
initialHighLimitVolts double Specifies the maximum voltage to be measured
for all channels in the channel string listed
before a command string that specifies a new
high limit.
initialLowLimitVolts double The minimum voltage to be measured for all
channels in the channel string listed before a
command string that specifies a new low limit.
Output highLimitVolts double Returns the high limit for the specified channel.
lowLimitVolts double Returns the low limit for the specified channel.
Return Value
error short
integer Refer to error codes in Table 10-5.
Parameter Discussion
channelString is the analog input channels that are to be sampled. Refer to the Channel String
for Analog Input Functions subsection of the Easy I/O for DAQ Library Function Overview
section of this chapter for the syntax of this string.
singleChannel is a single channel of the channel string. For example, if the channel string is
"0:3,5"
a single channel could be
"2" or "5" and so on.