GXClient component sends all asynchronous and notification packets using this method.
This method handles the received asynchronous and notification packets.
If all communication is done using synchronous communication, this method is not necessary to implement.
'In this example we assume that device has returned an error if second byte of the header is not 0. sub GXSClient1_Received(object GXPacket, bool Answer) 'Extract all data to the textbox dim data 'Extract all data to the variable GXPacket.ExtractData data, GX_VT_HEX_STR, 0, -1 textbox1.text = data end sub
Assembly: Gurux.Client (Module: Gurux.Client) Version: 5.0.0.1