OnRead event in Serial Port Monitor AX

The OnRead event occurs when other application reads data from the sniffed port (see OnReadData event).  

OnRead(
 VARIANT& Data// Pointer to the VARIANT (VT_ARRAY | VT_UI1)
);


Parameters
  Data     [in] Pointer to the VARIANT type variable that contains data read from the port as VT_ARRAY | VT_UI1.

Remarks

This event is really convenient to use under VB6, C#, VB.Net.


See also

OnWrite event, OnReadData event, OnWriteData event