Chapter 2 Function Reference — WFM_DB_Config
©
National Instruments Corporation 2-411 NI-DAQ FRM for PC Compatibles
WFM_DB_Config
Format
status = WFM_DB_Config (deviceNumber, numChans, chanVect, dbMode,
oldDataStop partialTransferStop)
Purpose
Enables and disables the double-buffered mode of waveform generation.
Parameters
Input
Parameter Discussion
numChans indicates the number of analog output channels specified in the array chanVect.
Range: 1 or 2 for most devices.
1 through 6 for AT-AO-6.
1 through 10 for AT-AO-10.
chanVect is the user array of channel numbers.
Channel number range:
0 or 1 for most devices.
0 through 5 for AT-AO-6.
0 through 9 for AT-AO-10.
dbMode is a flag whose value either enables or disables the double-buffered mode of
waveform generation.
0: Double-buffered mode disabled.
1: Double-buffered mode enabled.
Name Type Description
deviceNumber i16 assigned by configuration utility
numChans i16 number of analog output channels
chanVect [i16] channel numbers
dbMode i16 enables or disables the double-buffered mode
oldDataStop i16 allow or disallow regeneration of data
partialTransferStop i16 whether to stop when a partial half buffer is
transferred