Chapter 10 Easy I/O for DAQ Library
© National Instruments Corporation 10-43 LabWindows/CVI Standard Libraries
Parameters
Input device short integer Assigned by configuration utility.
channelString string Analog input channels that are to be sampled.
index long integer The index of a particular channel in the
channelString.
channelType short integer Specifies whether the channelString is
ANALOG_INPUT or ANALOG_OUTPUT.
Output channelName string Returns the name of the particular channel in the
channelString indicated by index.
Return Value
error short integer Refer to error codes in Table 10-5.
Parameter Discussion
channelString is the analog channels that are to be sampled. Refer to the Channel String for
Analog Input Functions or Channel String for Analog Output Functions subsection of the Easy
I/O for DAQ Library Function Overview section of this chapter for the syntax of this string.
channelName returns the name of the particular channel in the channelString indicated by
index. This string should be declared to have MAX_CHANNEL_NAME_LENGTH bytes.
GetDAQErrorStringchar *errorString = GetDAQErrorString (short errorNumber);
Purpose
This function returns a string containing the description for the numeric error code.
Parameters
Input errorNumber short
integer The error number that was returned from an
Easy I/O for DAQ function.
Return Value
errorString string The string containing the description for the
numeric error code.