Cdaqmxitemconfig::toitemname, Cdaqmxitemconfig::toitemno – Yokogawa PC-Based MX100 User Manual
Page 658
![background image](/manuals/360310/658/background.png)
12-94
IM MX190-01E
CDAQMXItemConfig::toItemName
Syntax
static int toItemName(int itemNo, char * strItem, int
lenItem);
Parameters
itemNo
Specify the setup item.
strItem
Specify the field where the string is to be stored.
lenItem
Specify the byte size of the field where the string is to be stored.
Description
Gets the setup item name of the specified setup item as a string.
Stores the string in the specified storage destination.
The string stored to the field includes the terminator. The return value does not
include the terminator.
Stores an empty string and returns 0 if it does not exist.
The strings that can be stored are, in general, ASCII strings.
Return value
Returns the length of the string.
CDAQMXItemConfig::toItemNo
Syntax
static int toItemNo(const char * strItem);
Parameters
strItem
Specify the item name of the setup item using a string.
Description
Gets the setup item from the string.
If it does not exist, “Unknown” is returned.
The specified string is, in general, an ASCII string.
Return value
Returns the setup item.
12.4 Details of the MX100 Class