Setaopwmdatamx – Yokogawa PC-Based MX100 User Manual

Page 299

Advertising
background image

5-41

IM MX190-01E

Functions for the MX100 (Visual C/Visual Basic)

5

setAOPWMDataMX

Syntax

int setAOPWMDataMX(DAQMX daqmx, MXAOPWMData * pMXAOPWMData);

Declaration

Public Declare Function setAOPWMDataMX Lib "DAQMX"(ByVal daqmx
As Long, ByRef pMXAOPWMData As MXAOPWMData) As Long

Parameters

daqmx

Specify the device descriptor.

pMXAOPWMData

Specify the AO/PWM data to output.

Description

Sends AO/PWM data collectively.

• Changes the output of command AO and command PWM channels.
• You can create data to send by changing the AO/PWM data of a data

operation function.

• The values specified for channels whose AO/PWM data is set to Valid

are output.

Return value

Returns an error number.

Error:
Not descriptor

No device descriptor.

Reference

CDAQMX::setAOPWMData

5.1 Details of Functions - MX100 (Visual C/Visual Basic) -

Advertising