Function usage, Prototypes, Program references – Measurement Computing Data Acquisition Systems rev.10.4 User Manual
Page 230

Function Usage
The channels specified by the daqDacWtMany function must be the appropriate DAC channel types, and the
channels must have been configured as direct output channels prior to calling this function. See
daqDacSetOutputMode
for setting the output mode to be direct (DdomVoltage).
The daqDacWtMany function operates in a similar manner to the single output version of the function,
daqDacWt
. Here, the deviceTypes and chans parameters are arrays of DAC channel types and channel
numbers. The dataVals parameter is an array of output values corresponding to the deviceTypes and
chans
arrays. The total number of channels to update (which should be equivalent to the number of entries in
each array) is set by the count parameter. Since this function is a multichannel version of the daqDacWt
function, please refer to the daqDacWt function for a complete description of the parameters and other
settings.
Prototypes
C/C++
daqDacWtMany(DaqHandleT handle, DaqDacDeviceType *deviceTypes, PDWORD
chans, PWORD dataVals, DWORD count);
Visual BASIC
VBdaqDacWtMany&(ByVal handle&, deviceTypes&, chans&, dataVals&, ByVal
count&)
Program References
DAQDACEX01.CPP, DBK02Ex.cpp, DBK05Ex.Cpp DAQEX.FRM (VB)
4.4-48 Daq API Command Reference
908494
Programmer’s
Manual