2cdaqmx::talkconfig, Cdaqmx::talkfifodata – Yokogawa PC-Based MX100 User Manual

Page 92

Advertising
background image

2-69

IM MX190-01E

MX100 -Visual C++

2

CDAQMX::talkConfig

Syntax

int talkConfig(CDAQMXSysInfo & cMXSysInfo, CDAQMXStatus &
cMXStatus, CDAQMXNetInfo & cMXNetInfo);

Parameters

cMXSysInfo

Specify the destination where the system configuration data is to

be returned.

cMXStatus

Specify the destination where the status data is to be returned.

cMXNetInfo

Specify the destination where the network information data is to
be returned.

Description

Declares the retrieval of the setup data. Gets the setup data excluding the channel
setup data. After executing this function member, use the getChConfig function to

retrieve the data for each channel. Within the setup data, initial balance data and
output channel data is retrieved using a separately-named retrieval function.

Return value

Returns an error number.

Reference

getNo getPacketVersion getStatusData getSystemConfig
getUserTime receivePacket sendPacket

CDAQMX::talkFIFOData

Syntax

int talkFIFOData(int fifoNo, MXDataNo startDataNo =
DAQMX_INSTANTANEOUS, MXDataNo endDataNo =
DAQMX_INSTANTANEOUS);

Parameters

fifoNo

Specify the FIFO number.

startDataNo

Specify the start data number.

endDataNo

Specify the end data number.

Description

Declares the retrieval of the measured data. Gets the measured data in the
specified data number range. The range that is actually retrieved is not necessarily

equal to the specified range. If the data number is omitted, the instantaneous value
is retrieved. After executing this function member, use getTimeData to get the time

information data for each data number.
Then, use getChData to retrieve the data for each channel within the data number.

Return value

Returns an error number.

Reference

getNo getPacketVersion getUserTime receivePacket sendPacket

2.5 Details of the MX100 Class

Advertising