beautypg.com

Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 206

background image

clockSource-(DaqDacClockSource)


Note: For daq9513 specific commands [used only for DaqBoard and DaqBooks of the 100 and 200 Series]

refer to Appendix D.


Definition

Description

DdcsDacClock

Specifies using the internal waveform/pattern output pacer clock on the device
(see daqDacWaveSetFreq).

DdcsGatedDacClock

Specifies using the internal waveform/pattern output clock which is then gated
through an external input (TTL input). Refer to pinout in user’s manual for
connection location.

DdcsAdcClock

Specifies that the waveform/pattern output clock follow that of current
acquisition clock setting (see daqAdcSetClockSource).

DdcsExternalTTL

Specifies an external timebase supplied via External Dac Pacer Clock Input.
Refer to pinout in user’s manual for connection location.

DdcsRisingEdge

Clock Control Flag
DdcsRisingEdge

= 0x0

DdcsFallingEdge

Clock Control Flag
DdcsFallingEdge = 0x100

DdcsOutputDisable

Output Control Flag
Disables the Dac internal clock output (

see note 1

).

DdcsOutputEnable

Output Control Flag
Enables the Dac internal clock output (

see note 1

).


Note 1:

This note applies to the Daq Devices listed in the first block of the above table.

To enable the pacer output you must include the clock source with a parameter that enables the
output clock; in other words, you have to write your daqDacWaveSetClockSource
command as follows:

C/C++ Style:

daqDacWaveSetClockSource (handle, deviceType, chan,

DdcsDacClock | DdcsOutputEnable);

Visual Basic Style:

VBdaqDacWaveSetClockSource (handle, deviceType, chan,

DdcsDacClock + DdcsOutputEnable);

The DdcsOutputEnable parameter is defined in the header file in the Daqx.bas module
(VB):

' DaqBoard/2000 Output Control Flags

Global Const DdcsOutputDisable = 0

Disables the Dac internal clock output.

Global Const DdcsOutputEnable = &H1000

Enables the Dac internal clock output.

4.4-24 Daq API Command Reference

908494

Programmer’s

Manual