beautypg.com

Daqdacwavearm – Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 194

background image

daqDacWaveArm

Also See: daqDacWaveDisarm

Format

daqDacWaveArm(handle, deviceType)

Purpose

daqDacWaveArm

arms a waveform/pattern output for all channels configured for waveform/pattern output

modes for the specified device.

Parameter Summary

Parameter Type

Description

handle DaqHandleT

Handle to the device for which a DAC waveform output will
be armed

deviceType DaqDacDeviceType Specifies the DAC type

Parameter Values

handle:

obtained from the daqOpen function

deviceType:

see table below

Parameter Type Definitions

deviceType-(DaqDacDeviceType)

Definition Description

DddtLocal

DAC output from P1 for ISA type DaqBoards;
DAC output from P3.

DddtLocalDigital

DAC output from the 16-bit P3 digital port.

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 daqDacWaveArm function enables a waveform/pattern output based upon the current waveform/pattern
output channel configuration. Channels configured for waveform/pattern output need to be set either
DdomStaticWave

or DdomDynamicWave output mode to be included in the waveform/pattern output

operation
(see daqDacSetOutputMode for more details on configuration channel output modes).

4.4-12 Daq API Command Reference

908494

Programmer’s

Manual