7cdaqdarwinchinfo::tochtype, Cdaqdarwinchinfo::toflag – Yokogawa PC-Based MX100 User Manual
Page 449
Advertising

7-51
IM MX190-01E
DARWIN - Visual C++ -
7
CDAQDARWINChInfo::toChType
Syntax
static int toChType(char cType);
Parameters
cType
Specify characters.
Description
Converts the specified value into a channel type.
If outside the range, the value is set to 0.
One character of the channel/relay type is converted to the channel type value.
Return value
Returns the channel type.
CDAQDARWINChInfo::toFlag
Syntax
static int toFlag(char cFlag);
Parameters
cFlag
Specify characters.
Description
Converts the specified value into a flag value.
If the specified character is “E” the value is set to “end data.”
If outside the range, the string is set to “All OFF.” The specified string corresponds
to the output format of S2.
Return value
Returns the flag.
7.4 Details of the DARWIN Class
Advertising