beautypg.com

Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 207

background image

Returns

DerrNoError

No error

Function Usage

The term waveform/pattern output is used extensively throughout the entries for the
functions of the form daqDac…. This refers to an analog waveform output modes and/or
digital pattern output modes. These terms describe output to digital-to-analog converter
(DAC) channels and/or digital input/output (DIO) channels that are synchronously
updated by a clock source defined by the application.

The daqDacWaveSetClockSource function’s clockSource parameter specifies the clock source to
use for updating all DAC/DIO channels which have been configured for waveform/pattern output. Regardless
of the clock source selected, all channels configured for waveform/pattern output (see
daqDacSetOutputMode

will be synchronously updated upon each update clock pulse.

If using DaqBoard(ISA): If the more than one DAC channel waveform/pattern output is
active, the update frequency for each channel is this rate divided by the total number of
active DAC waveform output channels.

Prototypes

C/C++

daqDacWaveSetClockSource(DaqHandleT handle, DaqDacDeviceType deviceType,
DWORD chan, DaqDacClockSource clockSource);

Visual BASIC

VBdaqDacWaveSetClockSource&(ByVal handle&, ByVal deviceType&, ByVal chan&,
ByVal clockSource&)

Program References

DAQDACEX02.CPP, DAQDACEX03.CPP


Programmer’s Manual

908494

Daq API Command Reference 4.4-25