Velmex    |    BiSlide    |    XSlide
Image Fade Right
 
VXM Driver Documentation - Visual Basic 6 - PortRemoveChars
 
Image - VXM

All functions assume you followed directions in the "How To Add To Your Project"

PortRemoveChars

The "PortRemoveChars" function is used to certain characters (or string of characters) that may be in the serial port buffer.

Syntax:
      PortRemoveChars(ByVal StringToRemove As String) As Long

Parameters:
      StringToRemove = Characters (or String) to remove from port
           

Returns:
      0 if failed
      1 if successfull

Example:
      Dim CallPortRemoveChars As Long
      CallPortRemoveChars = VXM.PortRemoveChars("I1M")

      If before calling this function the port contained "I1M1000,I1M-1000"
      After calling this function the port would now contain "I1M1000,-1000"

Image Fade Bottom Image Fade Right Bottom