Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

aoch (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: daq

Requires: MathScript RT Module (Windows, Linux)

Syntax

aoch(device, channels, data)

aoch(device, channels, data, limits)

error = aoch(device, channels, data)

error = aoch(device, channels, data, limits)

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.
limits Specifies the lowest and highest signal values you expect to update. limits is a two-element vector with the following syntax: [lowest, highest]. The default is [-10, 10].

Outputs

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

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

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

Related Topics

aich
aiwf
aowf
dioread
diowrite


 

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