All functions assume you followed directions in the "How To Add To Your Project"
The "PortWaitForChar" function is very useful in pausing your software code until a particular character is seen on the port. Such as waiting for the "^" from the VXM indicating that it has finished running its program so you can now take a reading, or some other process. Syntax: PortWaitForChar(ByVal CharToWaitFor As String, Optional ByVal TimeOutTime As Long) As Long Parameters: CharToWaitFor = Character to wait for. (typically the "^") (Optional) TimeOutTime = Time in MilliSeconds to wait (if character not found before the timeout then your code will continue. (if zero then driver will wait until either the character is found, or loss of communications) Returns: 0 if failed 1 if successfull Example: Dim CallPortWaitForChar As Long CallPortWaitForChar = VXM.PortWaitForChar("^")