Function
Retrieves the setting of the synchronous control..
Format
Ret = SmcWGetSync( Id , SyncAxis , SyncChip , SyncBoard )
Parameters
Id
[ VB.NET: Short ] [ C, C++: short ] [ C#: short ] [ Python: ctypes.c_short
]
SSpecify the Deice ID retrieved by SmcWInit function.
SyncAxis
[ VB.NET: Short ] [ C, C++: short * ] [ C#: out 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
[ VB.NET: Short ] [ C, C++: short * ] [ C#: out 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
[ VB.NET: Short ] [ C, C++: short * ] [ C#: out 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 [ 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.
See Also