Cdaqmx::talkchdata, Cdaqmx::talkchinfo – Yokogawa PC-Based MX100 User Manual

Page 91

Advertising
background image

2-68

IM MX190-01E

CDAQMX::talkChData

Syntax

int talkChData(int chNo, MXDataNo startDataNo =
DAQMX_INSTANTANEOUS, MXDataNo endDataNo =
DAQMX_INSTANTANEOUS);

Parameters

chNo

Specify the channel 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

CDAQMX::talkChInfo

Syntax

int talkChInfo(int startChNo = 1, int endChNo =
DAQMX_NUMCHANNEL);

Parameters

startChNo

Specify the start channel number.

endChNo

Specify the end channel number.

Description

Declares the retrieval of the channel information data from the start channel number
to the end channel number.

After executing this function member, use the getChInfo function to retrieve the data
for each channel.

Return value

Returns an error number.

Reference

getNo getPacketVersion getUserTime receivePacket sendPacket

2.5 Details of the MX100 Class

Advertising