Talkchdatamx [visual c only – Yokogawa PC-Based MX100 User Manual

Page 347

Advertising
background image

5-89

IM MX190-01E

Functions for the MX100 (Visual C/Visual Basic)

5

talkChDataMX

[Visual C only]

Syntax

int talkChDataMX(DAQMX daqmx, int chNo, MXDataNo startDataNo,
MXDataNo endDataNo);

Parameters

daqmx

Specify the device descriptor.

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 of the specified channel number.
• Specify the range to be retrieved using the start and end data numbers.

• When retrieving instantaneous values, specify the constant for “Data number for

specifying instantaneous values” for the start/end data number. Or, use the

talkChDataInstMX function.

• After executing this function, use the getTimeDataMX function to retrieve the data

times for all the data points. Then, use the getChDataMX function to retrieve the
measured data of all the data points.

• In Visual Basic, use the talkChDataVBMX function.

Return value

Returns an error number.

Error:
Not descriptor

No device descriptor.

Reference

CDAQMX::talkChData

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

Advertising