Measurement-computing Data Acquisition Systems rev.10.4 Manual de usuario Pagina 223

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 366
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 222
daqDacWaveSetUserWave
Also See: daqDacWaveSetPredefWave
Format
daqDacWaveSetUserWave(handle, deviceType, chan)
Purpose
daqDacWaveSetUserWave configures a user-defined buffer for DAC waveform output.
Parameter Summary
Parameter Type Description
handle DaqHandleT
Handle to the device to which the user-defined waveform
will be output
deviceType DaqDacDeviceType
Specifies the DAC device type
chan DWORD
Specifies the DAC device channel
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
Parameter Type Definitions
deviceType–(DaqDacDeviceType)
Definition
chan Value
Description
0 Configure a user defined waveform for waveform/pattern output operation,
where DAC0 is one of the channels being output.
1 Configure a user defined waveform for waveform/pattern output operation,
where DAC1 is one of the channels being output.
2 Configure a user defined waveform for waveform/pattern output operation,
where DAC2 is one of the channels being output.
DddtLocal
3 Configure a user defined waveform for waveform/pattern output operation,
where DAC3 is one of the channels being output.
DddtLocalDigital
NA The 16-bit P3 Digital port is not applicable.
Returns
DerrInvDacChan The DAC channel number doesn’t exist
DerrInvBuf A waveform buffer was not specified
DerrMemAlloc Not enough memory was available to build the waveform
DerrNotCapable Hardware is not capable of this function
DerrNoError No error
For more details on error messages refer to the Daq Error Table.
Programmer’s Manual 908494 Daq API Command Reference 4.4-41
Vista de pagina 222
1 2 ... 218 219 220 221 222 223 224 225 226 227 228 ... 365 366

Comentarios a estos manuales

Sin comentarios