Message character string expression. SECS-II messages are in binary structure, and cannot be comprehended by a human as-is. In order to make it more understandable, we express it by an ASCII character string.
l | List |
b | Binary |
bool | Boolean |
a | ASCII character string |
j | JIS-8 |
a2 | 2-byte ASCII character string |
i8 | 8-byte signed integer |
i1 | 1-byte signed integer |
i2 | 2-byte signed integer |
i4 | 4-byte signed integer |
f8 | 8-byte floating point |
f4 | 4-byte floating point |
u8 | 8-byte unsigned integer |
u1 | 1-byte unsigned integer |
u2 | 2-byte unsigned integer |
u4 | 4-byte unsigned integer |
When a character string is set in SML, bop compiles the character string, and builds a data structure inside it. At this time, if HexDump is read out, it converts to binary structure, and returns that converted into a hexadecimal character string. When SML is read out, a character string is generated from the bop's internal data structure.
When creating a message, first create the message's SML character string, and set that in SML. Refer to SML Reference for details on SML syntax.
Syntax
|
BSTR GetSML();
void SetSML(LPCTSTR lpszNewValue);
|
Return Value
Example
Remarks
See Also
HexDump Property
SML Reference
|