Newly registers VID.
Syntax
|
Function RegisterVID(lVID As Long, sType As Integer, sNodeType As Integer, lpszMin As String, lpszMax As String, lpszDefault As String, lpszUnit As String, lpszDescription As String) As Boolean
|
|
BOOL RegisterVID(long lVID, short sType, short sNodeType, LPCTSTR lpszMin, LPCTSTR lpszMax, LPCTSTR lpszDefault, LPCTSTR lpszUnit, LPCTSTR lpszDescription);
|
lVID | VID. |
sType | Type. |
sNodeType | SECS-II node type. |
lpszMin | ECMIN. |
lpszMax | ECMAX. |
lpszDefault | ECDEF. |
lpszUnit | UNITS. |
lpszDescription | ECNAME. |
sType is one of the following.
sNodeType is one of the following.
NodeTypeList | 1 | List |
NodeTypeBinary | 2 | Binary |
NodeTypeBoolean | 3 | Boolean |
NodeTypeAscii | 4 | ASCII character string |
NodeTypeJis | 5 | JIS-8 code |
NodeTypeLong8 | 6 | 8-byte signed integer |
NodeTypeChar | 7 | 1-byte signed integer |
NodeTypeShort | 8 | 2-byte signed integer |
NodeTypeLong | 9 | 4-byte signed integer |
NodeTypeDouble | 10 | 8-byte floating point |
NodeTypeFloat | 11 | 4-byte floating point |
NodeTypeDWord8 | 12 | 8-byte unsigned integer |
NodeTypeByte | 13 | 1-byte unsigned integer |
NodeTypeWord | 14 | 2-byte unsigned integer |
NodeTypeDWord | 15 | 4-byte unsigned integer |
NodeTypeAscii2 | 16 | 2 byte ASCII character string |
Return Value
BOOL | Returns true if registration was successful and false if unsuccessful. |
Example
Remarks
See Also
VIDType Property
VIDNodeType Property
VIDMin Property
VIDMax Property
VIDDefault Property
VIDUnit Property
VIDDescription Property
|