Cdaqmx100::updateoutput, Cdaqmx100::updaterenew – Yokogawa PC-Based MX100 User Manual

Page 625

Advertising
background image

12-61

IM MX190-01E

MX100 for Exteded API

12

CDAQMX100::updateInfoCh

Syntax

int updateInfoCh(int chNo = DAQMX_CHNO_ALL);

Parameters

chNo

Specify the channel number.

Description

Gets the channel information data of the specified channel number and stores it in
the data member.

If the constant for “Specify All Channels” is specified for the channel numbers, all
channels are processed.

Return value

Returns an error number.

Reference

getChInfo getClassMXDataBuffer talkChInfo
CDAQMXDataBuffer::setChInfo

CDAQMX100::updateOutput

Syntax

int updateOutput(void);

Description

Gets the output channel data and stores it in the data member.

Return value

Returns an error number.

Reference

getClassMXItemConfig getOutput
CDAQMXItemConfig::getClassMXOutputData

CDAQMX100::updateRenew

Syntax

int updateRenew(void);

Description

Updates the status.
Gets the following status of the randomly changing instrument and stores it in the

data member.
• Status data

• Current DO data
• Current AO/PWM data and transmission output data.

Return value

Returns an error number.

Reference

updateAOPWMData updateDOData updateStatus

12.4 Details of the MX100 Class

Advertising