DscWGBufferSet

Universal Driver Documentation
Configures D/A wave form generator D/A output. Sets up the code for D/A output. Gives users control over each output code, the D/A channel intended, and whether it is a simultaneous update or not.

Configures D/A wave form generator D/A output. Sets up the code for D/A output. Gives users control

over each output code, the D/A channel intended, and whether it is a simultaneous update or not.

Function Definition

BYTE dscWGBufferSet(DSCB board, DWORD address, DSCDACODE value, DWORD channel, BOOL simul)

Function Parameters

NameDescription
boardThe handle of the board to operate on
addressAddress in the buffer to set. This is any where from 0 to (buffer size - 1), i.e. if buffer size is 64 this is 0 to 63
value D/A code to output
channelD/A channel to output from
simulTRUE = enable simultaneous update, FALSE = no simultaneous update

Return Value

Error code or 0.


This page was last modified 01:52, 4 Aug 2005.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.