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

aoch (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

aoch(device, channels, data)

error = aoch(device, channels, data)

Description

Updates the given channels of a specified device.

Examples

Inputs

Name Description
device Specifies the device name. device is a string.
channels Specifies the channels whose values you want to update. channels is a vector of positive integers.
data Specifies the data with which to update the corresponding channels. data is a real vector of the same size as channels.

Outputs

Name Description
error Returns 0 if all channels update successfully. Otherwise, this function returns -1. error is a scalar.

Examples

DEVICE = 'Dev1';
CHANNEL = [0, 1];
DATA = [1, 2];
aoch(DEVICE, CHANNEL, DATA)

Related Topics

aich
aiwf
aowf
dioread
diowrite


Resources


 

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