Cdaqmxaopwmdata::getaopwmvalue, Cdaqmxaopwmdata::getmxaopwm, Cdaqmxaopwmdata::getmxaopwmdata – Yokogawa PC-Based MX100 User Manual

Page 95: Cdaqmxaopwmdata::initialize

Advertising
background image

2-72

IM MX190-01E

CDAQMXAOPWMData::getAOPWMValue

Syntax

int getAOPWMValue(int aopwmNo);

Parameters

aopwmNo

Specify the AO/PWM data number.

Description

Gets the output data value of the specified data number from the data member.
Returns 0 if it does not exist.

Return value

Returns the output data value.

Reference

getMXAOPWM

CDAQMXAOPWMData::getMXAOPWM

Syntax

MXAOPWM * getMXAOPWM(int aopwmNo);

Parameters

aopwmNo

Specify the AO/PWM data number.

Description

Gets the structure of the specified data number from the data member.
Returns NULL if it does not exist.

Return value

Returns a pointer to the structure.

CDAQMXAOPWMData::getMXAOPWMData

Syntax

void getMXAOPWMData(MXAOPWMData * pMXAOPWMData);

Parameters

pMXAOPWMData

Specify the destination where the AO/PWM data is to be
returned.

Description

Gets the data in a structure.
Stores the contents of the data member in the specified structure.

CDAQMXAOPWMData::initialize

Syntax

virtual void initialize(void);

Description

Initializes the data member. The default value as a general rule is 0.

Reference

initMXAOPWMData

2.5 Details of the MX100 Class

Advertising