Changetransmitmx – Yokogawa PC-Based MX100 User Manual

Page 264

Advertising
background image

5-6

IM MX190-01E

changeTransmitMX

Syntax

int changeTransmitMX(MXTransmit * pMXTransmit, int aopwmNo,
int iTrans);

Declaration

Public Declare Function changeTransmitMX Lib "DAQMX"(ByRef
pMXTransmit As MXTransmit, ByVal pwmNo As Long, ByVal iTrans
As Long) As Long

Parameters

pMXTransmit

Specify the transmission output data.

aopwmNo

Specify the AO/PWM data number.

iTrans

Specify the transmission status.

Description

Changes the data of the specified transmission output data.

• If the constant for “Specify all AO/PWM data numbers” is specified for the AO/

PWM data numbers, all data are changed.

• If the AO/PWM data number is outside of the range and invalid, the specification is

discarded.

• Completes normally.

Return value

Returns an error number.

Reference

CDAQMXTransmit::getMXTransmit
CDAQMXTransmit::setTransmit

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

Advertising