beautypg.com

Daqdacwavesetclocksource, Format, Purpose – Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 205: Parameter summary, Parameter values

background image

daqDacWaveSetClockSource

Also See: daqDacWaveSetFreq, daqDacWaveGetFreq

Format

daqDacWaveSetClockSource(handle, deviceType, chan, clockSource)

Purpose

daqDacWaveSetClockSource

sets the clock source for waveform/pattern output to the digital-to-analog

converter channels (DAC) and the digital input/output (DIO) channels.

Parameter Summary

Parameter Type

Description

handle DaqHandleT

Handle to the device for which the waveform output clock
source will be set

deviceType DaqDacDeviceType Specifies the DAC type
chan DWORD

Specifies the DAC channel

clockSource DaqDacClockSource Set the clock to the specified source

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
clockSource:

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.

Programmer’s Manual

908494

Daq API Command Reference 4.4-23