|
|
|
Description This event is fired when the operation started with the method Dump is completed. Syntax HCS121.OnDump (StartAddress as Integer; datarray as OleVariant)
Remarks This is an extract of a procedure written using Delphi, which show how to get data from the array passed like the second argument of the method: procedure TForm1.Hcs121Dump(Sender: TObject; StartAddress: Integer; data: OleVariant); type PByte = ^Byte; var P: Pointer; pData : PByte; begin P := VarArrayLock(data); pData := PByte(P); VarArrayUnlock(data); //from here use the pointer to the data array P as you prefer ………….. ………….. end; |
|