Function
Performs ending process of the device.
Format
Ret = SmcWExit( Id )
Parameters
Id [
VB.NET: Short ] [ C, C++: short ] [ C#: short ] [ Python: ctypes.c_short
]
Specify the Deice ID retrieved by SmcWInit function.
Return Value
Ret [ VB.NET: Integer ] [ C, C++: long ] [ C#: int ] [ Python: ctypes.c_long ]
0 |
Terminated normally |
Non-zero |
Terminated abnormally |
See also: Error code details
Remarks
This function can be executed even if the axis is in operation.
Example
VB.NET
Dim Ret As Integer
Ret = SmcWExit( Id )
C, C++
long Ret;
Ret = SmcWExit( Id );
C#
int Ret;
Ret = Smc.WExit( Id );
Python
Ret = ctypes.c_long()
Ret.value = csmc.SmcWExit( Id )
See Also