Owner manual

2-47
IM MX190-01E
MX100 -Visual C++
2
CDAQMX::getChInfo
Syntax
int getChInfo(CDAQMXChInfo & cMXChInfo, int * pFlag = NULL);
Parameters
cMXChInfo Specify the destination where the channel information data is to
be returned.
pFlag Specify the destination where the flag is to be returned.
Description
Gets the channel information data that was declared to be retrieved using the
talkChInfo function in units of channels. Analyzes information and stores the data in
the return destination. When the last set of data is retrieved, the flag status is set. It
is also set when the function ends in error. Do not perform communications using
other functions until the data retrieval is completed.
Stores required information in the each channel information storage field of the data
member.
Return value
Returns an error number.
Error:
Not support The sequence of execution was incorrect.
Reference
receiveBlock CDAQMXChInfo::getFIFOIndex
CDAQMXChInfo::getFIFONo CDAQMXChInfo::getPoint
CDAQMXChInfo::setChNo CDAQMXChInfo::setFIFOIndex
CDAQMXChInfo::setFIFONo
CDAQMX::getConfig
Syntax
int getConfig(CDAQMXConfig & cMXConfig);
Parameters
cMXConfig Specify the destination where the setup data is to be returned.
Description
Gets the setup data.
Gets the System configuration data, status, and basic settings and merges the
information.
Return value
Returns an error number.
Reference
getMXConfig getStatusData getSystemConfig
2.5 Details of the MX100 Class