Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

aowf (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the daq class.

Syntax

aowf(device, channels, rate, data)

error = aowf(device, channels, rate, data)

Description

Generates a timed, simple-buffered waveform for the given channels of a specified device.

Examples

Inputs

Name Description
device Specifies the device name. device is a string.
channels Specifies the channels for which to generate waveforms. channels is a vector of positive integers.
rate Specifies the number of samples to generate each second for each channel.
data Specifies the data with which to generate a waveform for each channel. data is a real matrix. Each row in data corresponds to a channel.

Outputs

Name Description
error Returns 0 if the data acquisition task is successful. Otherwise, this function returns -1. error is a scalar.

Examples

DEVICE = 'Dev1';
CHANNELS = [0, 1];
RATE = 1;
DATA = [1, 2, 3, 4; 5, 6, 7, 8];
aowf(DEVICE, CHANNELS, RATE, DATA)

Related Topics

aich
aiwf
aoch
dioread
diowrite


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit