Retrieves the error string from the error code.
Ret = DioGetErrorString ( ErrorCode , ErrorString )
ErrorCode
[ VB.NET: Integer ] [ C, C++: long ] [ C#: int ] [ Python: ctypes.c_long
]
Specify the return value of each function.
ErrorString
[ VB.NET: StringBuilder ] [ C, C++: char * ] [ C#: out string ] [ Python:
ctypes.c_char_p ]
Specify the base address of the buffer to store the error string. The maximum
length of the string is 256 characters.
Ret [ VB.NET: Integer ] [ C, C++: long ] [ C#: int ] [ Python: ctypes.c_long ]
Definition |
Value [Dec] |
Description |
DIO_ERR_SUCCESS |
0 |
Normal completed. |
DIO_ERR_DLL_BUFF_ADDRESS |
10100 |
Invalid data buffer address. |
The others (See also: Details of Error Code)
None
It is an utility function that returns the meaningful string for the error code. Please use this function for the error processing.
Stores the description of error code 10000 to ErrorString.
VB.NET |
Dim Ret As Integer |
C, C++ |
long Ret; |
C# |
int Ret; |
Python |
Ret = ctypes.c_long() |
None