Example) Output the deflection counter clear (ERC) signal for axis number 1.
■ C
long Ret;
short Id;
short ErcOn;
ErcOn = 1;
// Output the deflection counter clear (ERC) signal
Ret = SmcWSetErcOut( Id , 1, ErcOn );
■ Visual Basic
Dim Ret As Integer
Dim Id As Short
Dim ErcOn As Short
ErcOn = 1
' Output the deflection counter clear (ERC) signal
Ret = SmcWSetErcOut( Id , 1, ErcOn )
■ C#
int Ret;
short Id;
short ErcOn;
ErcOn = 1;
// Output the deflection counter clear (ERC) signal
Ret = Smc.WSetErcOut( Id , 1, ErcOn );
■ Python
Ret = ctypes.c_long()
Id = ctypes.c_short()
ErcOn = ctypes.c_short()
ErcOn.value = 1
# Output the deflection counter clear (ERC) signal
Ret.value = csmc.SmcWSetErcOut( Id , 1, ErcOn )