Measurement-computing Data Acquisition Systems rev.10.4 Manuel d'utilisateur Page 200

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 366
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 199
daqDacWaveSetBuffer
Also See: daqDacTransferStart, daqDacTransferStop
Format
daqDacWaveSetBuffer(handle, deviceType, chan, buf, scanCount,
transferMask)
Purpose
daqDacWaveSetBuffer configures a waveform/pattern output transfer buffer for the specified device and
channel.
Parameter Summary
Parameter Type Description
handle DaqHandleT
Handle to the device for which a DAC waveform transfer
buffer will be configured
deviceType DaqDacDeviceType
Specifies the DAC type
chan DWORD
Specifies the DAC channel
buf PWORD
Pointer to the user allocated waveform transfer buffer
scanCount DWORD
Length of the waveform buffer in output samples
transferMask DWORD
Configures the buffer transfer mode
Parameter Values
handle: obtained from the daqOpen function
deviceType: see table below
chan: valid values depend on the values chosen for the deviceType parameter; see the deviceType
table below
buf: pointer to buffer which contains scanCount updates for each channel in waveform/pattern output
mode
scanCount: length of the buffer in updates for each channel can be 1 to 4,294,967,295; however, memory
limitations may apply
transferMask: see table below
Parameter Type Definitions
DeviceType–(DaqDacDeviceType)
Definition
chan Value
Description
0 Start the transfer of waveform/pattern output data where DAC0 is one of the
channels being output.
1 Start the transfer of waveform/pattern output data where DAC1 is one of the
channels being output.
2 Start the transfer of waveform/pattern output data where DAC2 is one of the
channels being output.
DddtLocal
3 Start the transfer of waveform/pattern output data where DAC3 is one of the
channels being output.
DddtLocalDigital
0 Start the transfer waveform/pattern output data where the 16-bit P3 Digital port is
one of the channels being output.
transferMask
Definition Description
DdtmUserBuffer
Selects a user buffer for waveform/pattern output
DdtmDriverBuffer
Selects a driver buffer for waveform/pattern output
Returns
4.4-18 Daq API Command Reference 908494 Programmer’s Manual
Vue de la page 199
1 2 ... 195 196 197 198 199 200 201 202 203 204 205 ... 365 366

Commentaires sur ces manuels

Pas de commentaire