Owner manual

2-48 IM MX190-01E
CDAQMX::getData
Syntax
virtual int getData(int chType, int chNo, CDAQDateTime &
cDateTime, CDAQDataInfo & cDataInfo);
Parameters
chType Specify the channel type.
chNo Specify the channel number.
cDateTime Specify the destination where the time information data is to be
returned.
cDataInfo Specify the destination where the measured data is to be
returned.
Description
This function gets the instantaneous values in units of channels.
Gets the measured data of the specified channel.
The channel type is ignored.
Return value
Returns an error number.
Reference
getChData getTimeData talkChData
CDAQMX::getDataNo
Syntax
int getDataNo(int fifoNo, MXDataNo prevLast, MXDataNo *
startDataNo, MXDataNo * endDataNo);
Parameters
fifoNo Specify the FIFO number.
prevLast Specify the data number retrieved last.
startDataNo Specify the destination where the start data number is to be
returned.
endDataNo Specify the destination where the end data number is to be
returned.
Description
Gets the status data and calculates the range of measured data that can be
retrieved. If measured data that can be retrieved does not exist, negative numbers
are returned.
Return value
Returns an error number.
Error:
Not support The FIFO number is outside the range.
Reference
getStatusData
CDAQMXStatus::getNewDataNo CDAQMXStatus::getOldDataNo
2.5 Details of the MX100 Class