National Instruments 320682C Musical Toy Instrument User Manual


 
Chapter 10 Easy I/O for DAQ Library
© National Instruments Corporation 10-23 LabWindows/CVI Standard Libraries
Parameters
Input
device
short integer Assigned by configuration utility.
singleChannel
string The analog output channel to which the voltage are
applied.
voltage
double The voltage that is applied to the analog output
channel.
Return Value
error
short integer Refer to error codes in Table 10-5.
Parameter Discussion
singleChannel is the analog output channel to which the voltage are applied. Refer to the
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.
AOUpdateChannels
short AOUpdateChannels (short device, char channelString[],
double voltageArray[]);
Purpose
This function applies specified voltages to the analog output channel specified in the
channelString.
Parameters
Input
device
short integer Assigned by configuration utility.
channelString
string The analog output channels to which the voltages
are applied.
voltageArray
double array The voltages that are applied to the specified analog
output channels.
Return Value
error
short integer Refer to error codes in Table 10-5.