Function
Retrieves the setting of the synchronous control..
Format
Ret = SmcWGetSync( Id , SyncAxis , SyncChip , SyncBoard )
Parameters
Id [ C, C++: short ] [ Python: ctypes.c_short ]
Specify the device ID retrieved by SmcWInit function.
SyncAxis [ C, C++: short * ] [ Python: ctypes.POINTER(ctypes.c_short) ]
The address of the variable that stores the setting of the axis for a synchronous control is specified.
AxisNo bit
[ 8 7 6 5 ][ 4 3 2 1 ]
0 |
Not synchronize. |
1 |
Synchronize. |
SyncChip [ C, C++: short * ] [ Python: ctypes.POINTER(ctypes.c_short) ]
The address of the variable that stores a synchronous interchip setting is specified.
0 |
Not synchronize |
1 |
Synchronize |
SyncBoard [ C, C++: short * ] [ Python: ctypes.POINTER(ctypes.c_short) ]
The address of the variable that stores the synchronous setting between boards is specified.
0 |
Not synchronize |
1 |
It synchronizes with another board that connects board CN2 and the cable. |
2 |
It synchronizes with another board that connects board CN3 and the cable. |
3 |
It synchronizes with another board that connects board CN2 and the cable It synchronizes with another board that connects board CN3 and the cable |
Return Value
Ret [ C, C++: long ] [ Python: ctypes.c_long ]
0 |
Terminated normally |
Non-zero |
Terminated abnormally |
See also: Error code details
See Also