Syntax:
PortWaitForCharWithMotorPosition(ByVal CharToWaitFor As String, ByVal MotorNumber As Long, Optional ByVal ReportToWindowHwnd As Long, Optional ByVal TimeOutTime As Long) As Long
Parameters:
CharToWaitFor = Character to wait for. (typically the "^")
MotorNumber = Number of the motor you wish to have driver report position back
ReportToWindowHwnd = Hwnd of the window you wish the position to appear
Example:
Dim CallPortWaitForCharMotorPosition As Long
Dim TempPtr As IntPtr
Dim HwndPositionWindow As Long
TempPtr = Me.TextBox1.Handle
HwndPositionWindow = TempPtr.ToInt32
CallPortWaitForCharMotorPosition = VXM.PortWaitForCharWithMotorPosition("^", 1, HwndPositionWindow, 0)